Skip to content

Commit 46da1f9

Browse files
committed
fix: improve Gitleaks configuration with source parameter
- Remove duplicate GITLEAKS_CONFIG env variable - Add explicit source parameter to fix Git revision issues - Keep config-path parameter for custom configuration
1 parent 11b268c commit 46da1f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/security-consolidated.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ jobs:
172172
uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7
173173
env:
174174
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
175-
GITLEAKS_CONFIG: .gitleaks.toml
176175
with:
177176
config-path: .gitleaks.toml
177+
source: "."
178178

179179
- name: TruffleHog OSS scan
180180
uses: trufflesecurity/trufflehog@ad6fc8fb446b8fafbf7ea8193d2d6bfd42f45690

0 commit comments

Comments
 (0)