mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 08:13:12 +00:00
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.
13 lines
271 B
YAML
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
|