Skip to content

Commit

Permalink
Update permissions for workflows that call scorecard
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Wilson <[email protected]>
  • Loading branch information
SWilson4 committed Sep 4, 2024
1 parent d06d640 commit b3f8742
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit-to-main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Main branch tests

permissions:
contents: read
# read-all permissions are required for the scorecard job
permissions: read-all

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Pull request tests

permissions:
contents: read
# read-all permissions are required for the scorecard job
permissions: read-all

on: pull_request

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Weekly tests

permissions:
contents: read
# read-all permissions are required for the scorecard job
permissions: read-all

on:
schedule:
Expand Down

0 comments on commit b3f8742

Please sign in to comment.