Skip to content

Commit b2c7c15

Browse files
committed
fix(ci): replace corrupted secret-scanner.yml with canonical boj-server version
File had random spaces inserted throughout (e.g. 'Syn c', 'permission s', 'name :'), breaking YAML parse. Restoring boj-server's clean copy.
1 parent ca2da8f commit b2c7c15

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/secret-scanner.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
# Prevention workflow - scans for hardcoded secrets before they reach main
33
name: Secret Scanner
44

@@ -14,19 +14,19 @@ jobs:
1414
trufflehog:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818
with:
1919
fetch-depth: 0 # Full history for scanning
2020

2121
- name: TruffleHog Secret Scan
22-
uses: trufflesecurity/trufflehog@8a8ef8526528d8a4ff3e2c90be08e25ef8efbd9b # v3
22+
uses: trufflesecurity/trufflehog@6961f2bace57ab32b23b3ba40f8f420f6bc7e004 # v3
2323
with:
2424
extra_args: --only-verified --fail
2525

2626
gitleaks:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
29+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
with:
3131
fetch-depth: 0
3232

@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
if: hashFiles('**/Cargo.toml') != ''
4242
steps:
43-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
43+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4444

4545
- name: Check for hardcoded secrets in Rust
4646
run: |

0 commit comments

Comments
 (0)