Skip to content

Commit a294ca7

Browse files
add additional prms for scorecard template for private repos
1 parent 8a372e9 commit a294ca7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

testfiles/addworkflow/expected-scorecards.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
id-token: write
2929
contents: read
3030
actions: read
31+
# To allow GraphQL ListCommits to work
32+
issues: read
33+
pull-requests: read
34+
# To detect SAST tools
35+
checks: read
3136

3237
steps:
3338
- name: "Checkout code"

workflow-templates/scorecards.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
id-token: write
2929
contents: read
3030
actions: read
31+
# To allow GraphQL ListCommits to work
32+
issues: read
33+
pull-requests: read
34+
# To detect SAST tools
35+
checks: read
3136

3237
steps:
3338
- name: "Checkout code"

0 commit comments

Comments
 (0)