Skip to content

Commit 005e239

Browse files
committed
allow reading actions and content for scorecard analysis
1 parent 861cd1e commit 005e239

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/scorecard.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ jobs:
2323
name: Scorecard analysis
2424
runs-on: ubuntu-latest
2525
permissions:
26+
actions: read
27+
contents: read
2628
# Needed to upload the results to code-scanning dashboard.
2729
security-events: write
2830
# Needed to publish results and get a badge (see publish_results below).
2931
id-token: write
3032
# Uncomment the permissions below if installing in a private repository.
31-
# contents: read
32-
# actions: read
33+
3334

3435
steps:
3536
- name: "Checkout code"

0 commit comments

Comments
 (0)