File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change 11name : Git Secrets Scan
22
33permissions :
4- contents : read
4+ contents : read
55
66on :
7- pull_request :
8- workflow_dispatch :
7+ pull_request :
8+ workflow_dispatch :
99
1010concurrency :
11- group : git-secrets-scan-${{ github.head_ref || github.ref }}
12- cancel-in-progress : true
11+ group : git-secrets-scan-${{ github.head_ref || github.ref }}
12+ cancel-in-progress : true
1313
1414jobs :
15- scan :
16- runs-on : ubuntu-latest
17- timeout-minutes : 10
15+ scan :
16+ runs-on : ubuntu-latest
17+ timeout-minutes : 10
1818
19- steps :
20- - name : Checkout code
21- uses : actions/checkout@v5
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@v5
2222
23- - name : Install git-secrets
24- run : |
25- git clone --depth 1 --branch 1.3.0 https://github.com/awslabs/git-secrets.git
26- cd git-secrets
27- sudo make install
23+ - name : Install git-secrets
24+ run : |
25+ git clone --depth 1 --branch 1.3.0 https://github.com/awslabs/git-secrets.git
26+ cd git-secrets
27+ sudo make install
2828
29- - name : Configure git-secrets
30- run : git secrets --register-aws
29+ - name : Configure git-secrets
30+ run : git secrets --register-aws
3131
32- - name : Run git-secrets
33- run : git secrets --scan
32+ - name : Run git-secrets
33+ run : git secrets --scan
You can’t perform that action at this time.
0 commit comments