File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # SPDX-License-Identifier: PMPL-1.0-or-later
1+ # SPDX-License-Identifier: PMPL-1.0
22# Prevention workflow - scans for hardcoded secrets before they reach main
33name : Secret Scanner
44
@@ -15,13 +15,14 @@ concurrency:
1515 group : ${{ github.workflow }}-${{ github.ref }}
1616 cancel-in-progress : true
1717
18- permissions : read-all
18+ permissions :
19+ contents : read
1920
2021jobs :
2122 trufflehog :
2223 runs-on : ubuntu-latest
2324 steps :
24- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2526 with :
2627 fetch-depth : 0 # Full history for scanning
2728
3536 gitleaks :
3637 runs-on : ubuntu-latest
3738 steps :
38- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
39+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
3940 with :
4041 fetch-depth : 0
4142
4849 rust-secrets :
4950 runs-on : ubuntu-latest
5051 steps :
51- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
5253
5354 - name : Check for hardcoded secrets in Rust
5455 run : |
You can’t perform that action at this time.
0 commit comments