Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dede1a6

Browse files
committedJul 17, 2024
chore(actions): set sbom-action to 0.17.0 and add permission
1 parent d5f6b9a commit dede1a6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎.github/workflows/prereleased.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ env:
2525

2626

2727
permissions:
28+
actions: read
2829
id-token: write
2930
contents: write
3031
packages: read
@@ -177,7 +178,7 @@ jobs:
177178
- uses: actions/checkout@v4
178179

179180
- name: Create SBOM
180-
uses: anchore/sbom-action@v0
181+
uses: anchore/sbom-action@v0.17.0
181182
with:
182183
upload-artifact-retention: 1
183184
format: cyclonedx-json

‎.github/workflows/pull-request.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818

1919

2020
permissions:
21+
actions: read
2122
id-token: write
2223
contents: read
2324
packages: read
@@ -71,7 +72,7 @@ jobs:
7172
- uses: actions/checkout@v4
7273

7374
- name: Create SBOM
74-
uses: anchore/sbom-action@v0
75+
uses: anchore/sbom-action@v0.17.0
7576
with:
7677
upload-artifact-retention: 1
7778
format: cyclonedx-json

0 commit comments

Comments
 (0)
Failed to load comments.