Skip to content

Commit

Permalink
Merge pull request #2484 from step-security/issue2483
Browse files Browse the repository at this point in the history
Add additional Permissions for Scorecard template for private repos
  • Loading branch information
varunsh-coder authored Sep 16, 2024
2 parents 5259779 + fa7c85b commit 929021e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testfiles/addworkflow/expected-scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
id-token: write
contents: read
actions: read
# To allow GraphQL ListCommits to work
issues: read
pull-requests: read
# To detect SAST tools
checks: read

steps:
- name: "Checkout code"
Expand Down
5 changes: 5 additions & 0 deletions workflow-templates/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
id-token: write
contents: read
actions: read
# To allow GraphQL ListCommits to work
issues: read
pull-requests: read
# To detect SAST tools
checks: read

steps:
- name: "Checkout code"
Expand Down

0 comments on commit 929021e

Please sign in to comment.