.github/.github/workflows/callable-dependency-review.yaml
Adam Moussa 1cc7236ef6
fix(ci): drop pull-requests write from callable-dependency-review (#40)
Callers grant no explicit permissions, so they pass the org default
read-only token. A reusable workflow cannot request more than its
caller grants, causing startup_failure on every dependency-review run.
dependency-review-action only needs contents: read when not posting
PR comments.
2026-06-05 12:19:06 -04:00

13 lines
271 B
YAML

name: Dependency Review
on:
workflow_call:
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/dependency-review-action@v4
with:
fail-on-severity: high