File tree Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Original file line number Diff line number Diff line change 11name : Gitleaks Security Scan
22
3- on :
4- push :
5- branches :
6- - main
7- pull_request :
8- branches :
9- - main
3+ on : [push, pull_request]
104
115jobs :
126 gitleaks :
13- name : Run Gitleaks Scan
147 runs-on : ubuntu-latest
158 steps :
16- - name : Checkout repository
17- uses : actions/checkout@v4
9+ - name : Checkout code
10+ uses : actions/checkout@v2
1811
19- - name : Install Gitleaks
20- run : |
21- wget https://github.com/gitleaks/gitleaks/releases/latest/download/gitleaks-linux-amd64 -O gitleaks
22- chmod +x gitleaks
23- sudo mv gitleaks /usr/local/bin/
12+ - name : Download Gitleaks binary
13+ run : |
14+ wget https://github.com/gitleaks/gitleaks/releases/download/v8.24.2/gitleaks-linux-amd64 -O gitleaks
15+ chmod +x gitleaks
2416
25- - name : Run Gitleaks
26- run : gitleaks detect --source . --verbose --exit-code 1
17+ - name : Run Gitleaks
18+ run : ./ gitleaks detect --source . --verbose --report-path gitleaks-report.json
You can’t perform that action at this time.
0 commit comments