mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 07:03:11 +00:00
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:
parent
2e74e2a670
commit
1cc7236ef6
1 changed files with 0 additions and 1 deletions
|
|
@ -3,7 +3,6 @@ on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
|
||||||
jobs:
|
jobs:
|
||||||
dependency-review:
|
dependency-review:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue