Skip to content

Commit af7191c

Browse files
committed
fix: correct Gitleaks action configuration
- Remove unsupported config-path and source parameters - Use proper GITLEAKS_CONFIG environment variable - Fix Git revision errors in security scanning workflow
1 parent 46da1f9 commit af7191c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/security-consolidated.yml

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

179177
- name: TruffleHog OSS scan
180178
uses: trufflesecurity/trufflehog@ad6fc8fb446b8fafbf7ea8193d2d6bfd42f45690

0 commit comments

Comments
 (0)