Skip to content

Commit

Permalink
chore(actions): set sbom-action to 0.17.0 and add permission
Browse files Browse the repository at this point in the history
  • Loading branch information
portellaa committed Jul 17, 2024
1 parent d5f6b9a commit dede1a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/prereleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ env:


permissions:
actions: read
id-token: write
contents: write
packages: read
Expand Down Expand Up @@ -177,7 +178,7 @@ jobs:
- uses: actions/checkout@v4

- name: Create SBOM
uses: anchore/sbom-action@v0
uses: anchore/sbom-action@v0.17.0
with:
upload-artifact-retention: 1
format: cyclonedx-json
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:


permissions:
actions: read
id-token: write
contents: read
packages: read
Expand Down Expand Up @@ -71,7 +72,7 @@ jobs:
- uses: actions/checkout@v4

- name: Create SBOM
uses: anchore/sbom-action@v0
uses: anchore/sbom-action@v0.17.0
with:
upload-artifact-retention: 1
format: cyclonedx-json
Expand Down

0 comments on commit dede1a6

Please sign in to comment.