Skip to content

Commit c183c12

Browse files
committed
Gitleaks config
1 parent eef9e35 commit c183c12

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/secret-scan.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
1919

20-
- name: Run Gitleaks with License Key
20+
- name: Run Gitleaks
2121
uses: gitleaks/gitleaks-action@v2
22-
with:
23-
fail: true
24-
config-path: .github/gitleaks.toml
2522
env:
26-
GITLEAKS_LICENSE_KEY: E86E8A-22C271-B767AA-6055AC-F09CA3-V3
23+
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
24+
with:
25+
args: >
26+
detect
27+
--source .
28+
--exit-code 1
29+
--report-path gitleaks-report.json

0 commit comments

Comments
 (0)