Skip to content

Commit

Permalink
Try to make gitleaks not scan all commits
Browse files Browse the repository at this point in the history
  • Loading branch information
gwarf committed Nov 5, 2024
1 parent 0e9543f commit 048be74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
DISABLE: COPYPASTE
DISABLE_LINTERS: REPOSITORY_GRYPE,REPOSITORY_TRIVY,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL
# Scan only changes in PR, otherwise scan everything
REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: ${{ github.event_name == 'pull_request' }}
REPOSITORY_GITLEAKS_PR_COMMITS_SCAN: ${{ (github.event_name == 'pull_request' && 'true') || 'false' }}

# Upload MegaLinter artifacts
- name: Archive production artifacts
Expand Down

0 comments on commit 048be74

Please sign in to comment.