Skip to content

Commit

Permalink
Fix update-gemfiles workflow permissions
Browse files Browse the repository at this point in the history
No permission is declared in the workflow file, when a switch to a
more restrictive global setting would cause the workflow to fail.
  • Loading branch information
lloeki committed Aug 30, 2024
1 parent 72f2d40 commit c95a7fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/update-gemfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
check:
name: Update Gemfiles
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: write
steps:
# Only execute if there's a PR attached to this branch.
# Because we execute on `push`, we have to double check here if this is part of a PR.
Expand Down

0 comments on commit c95a7fe

Please sign in to comment.