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 fa62a74 commit 63e54b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/prereleased.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:


permissions:
actions: read
id-token: write
contents: write
packages: write
Expand Down Expand Up @@ -224,7 +225,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
5 changes: 2 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:
pull_request:
branches:
- master
types:
- ready_for_review



Expand All @@ -18,6 +16,7 @@ env:


permissions:
actions: read
id-token: write
contents: read
packages: read
Expand Down Expand Up @@ -75,7 +74,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 63e54b8

Please sign in to comment.