Skip Gitleaks scan for Dependabot PRs
Gitleaks requires a license key for org repos. Skip the step (not the job) for dependabot[bot] so the Security Scan job still passes as a required status check. pnpm audit still runs for all PRs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
881374008f
commit
d797564201
1 changed files with 1 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
|
@ -23,6 +23,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
- name: Gitleaks
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
uses: trails-cool/gitleaks-action@4cbc857b9cfa2a3297fe2be1078e196d30d1b424
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue