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
6 changes: 6 additions & 0 deletions .github/workflows/security-deps-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ permissions:
jobs:
deps-gate:
name: Block on critical/high alerts in sensitive paths
# Dependabot-triggered runs get a read-only token with NO access to Actions
# secrets, so the App-token step below cannot mint a token there. The gate
# only inspects main's Dependabot-alert state (alerts are not computed per
# PR branch), so it is redundant on a PR anyway. Skip on Dependabot; the
# push-to-main and daily schedule runs still enforce the gate.
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
Loading