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.
This commit is contained in:
Adam Moussa 2026-06-05 12:19:06 -04:00 • committed by GitHub
parent 2e74e2a670
commit 1cc7236ef6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,6 @@ on:
workflow_call:
permissions:
contents: read
pull-requests: write
jobs:
dependency-review:
runs-on: ubuntu-latest