Skip to content

Commit

Permalink
Add top-level permissions to more workflows (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobarr-amzn authored Sep 21, 2023
1 parent 388e890 commit 9d72f83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: build
permissions: read-all

on:
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# See https://docs.github.com/en/actions/creating-actions/creating-a-composite-action

name: Prepare Release
permissions: read-all
on:
# We have a branch protection rule for master, so all commits to master require
# an approved PR. That means this workflow trigger is effectively equivalent to
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-inspect-version-action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Test cases for the 'inspect-version' action

name: Test 'inspect-version' Action
permissions: read-all

on:
pull_request:
Expand Down

0 comments on commit 9d72f83

Please sign in to comment.