Skip to content
Merged
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
4 changes: 3 additions & 1 deletion .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@ jobs:
echo "$sum $RUNNER_TEMP/gitleaks.tgz" | sha256sum -c -
tar -xzf "$RUNNER_TEMP/gitleaks.tgz" -C "$RUNNER_TEMP" gitleaks

# HEAD's whole history (on a pull request, the merge preview: main plus the PR's commits), not --all. The
# full-depth checkout fetches every branch, and an unscoped scan let one open PR's finding fail every other PR.
- name: no secret anywhere in the history
run: '"$RUNNER_TEMP/gitleaks" git --redact --verbose --exit-code 1 .'
run: '"$RUNNER_TEMP/gitleaks" git --log-opts=HEAD --redact --verbose --exit-code 1 .'
Loading