Skip to content

ci: grant security-events: write so the dogfood SARIF upload works #34

ci: grant security-events: write so the dogfood SARIF upload works

ci: grant security-events: write so the dogfood SARIF upload works #34

name: Dependency Review
# Fails any PR that adds a dependency with a known CVE or an
# incompatible license. Cheap, PR-only, no secrets required.
on:
pull_request:
branches: [main]
permissions:
contents: read
pull-requests: write
jobs:
review:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4
with:
fail-on-severity: high
comment-summary-in-pr: on-failure
allow-licenses: MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, 0BSD, CC0-1.0, Unlicense