Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/gitleaks.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ Example GitHub Actions step:
```yaml
- name: Run GitLeaks
run: gitleaks git --redact --verbose --log-opts="--all"
run: docker run --rm --platform linux/amd64 \
-v "$(pwd):/repo" \
-w /repo \
ghcr.io/gitleaks/gitleaks:v8.30.1 \
git --source /repo --redact --verbose --log-opts="--all"
```

If you maintain a custom configuration, store it in the repository and reference it explicitly in local and CI commands so the same rules apply everywhere.
Expand Down
Loading