Skip to content

Commit

Permalink
Grant write perms for artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
samayer12 committed Oct 9, 2024
1 parent 7336000 commit 06fe8d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/container-scan.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Container Scans

permissions:
contents: read
actions: read
contents: write # for sbom-action artifact uploads

on:
push:
Expand Down Expand Up @@ -34,4 +35,6 @@ jobs:
- name: Generate SBOM
uses: anchore/sbom-action@v0
with:
image: pepr:dev
image: pepr:dev
upload-artifact: true
upload-artifact-retention: 30

0 comments on commit 06fe8d3

Please sign in to comment.