Skip to content

Commit 8e31bd7

Browse files
authored
build: update scorecard config (#26994)
Updates the scoredcard config to include the ID token.
1 parent 23cc8d7 commit 8e31bd7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/scorecard.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
workflow_dispatch:
99

1010
# Declare default permissions as read only.
11-
permissions: read-all
11+
permissions:
12+
contents: read
1213

1314
jobs:
1415
analysis:
@@ -17,6 +18,8 @@ jobs:
1718
permissions:
1819
# Needed to upload the results to code-scanning dashboard.
1920
security-events: write
21+
# Needed to publish results
22+
id-token: write
2023
actions: read
2124
contents: read
2225

0 commit comments

Comments
 (0)