mirror of
https://github.com/anchore/syft.git
synced 2026-06-10 06:18:24 +02:00
Pass contents: read to check-gate (#4951)
Otherwise check-gate doesn't have enough permissions to do its job and fails. Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
This commit is contained in:
parent
a4fb2c0396
commit
9673f867e5
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@ -34,6 +34,7 @@ jobs:
|
||||
check-gate:
|
||||
if: ${{ github.event.inputs.phase == 'all' }}
|
||||
permissions:
|
||||
contents: read
|
||||
checks: read # required for getting the status of specific check names
|
||||
uses: anchore/workflows/.github/workflows/check-gate.yaml@b3e328b5ae31ba96297e2ed9a6124e5e6352a4c5 # v0.7.0
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user