Skip to content

Commit

Permalink
fix: add explcit security permissions to update gradle wrapper action
Browse files Browse the repository at this point in the history
  • Loading branch information
Yolgie committed Feb 4, 2025
1 parent edd2728 commit 70ab5f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/update-gradle-wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
schedule:
- cron: "0 0 * * *"

permissions: # this can be restrictive since there as a granular personal access token that is used to open the MergeRequest
contents: read
pull-requests: read

jobs:
update-gradle-wrapper:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 70ab5f0

Please sign in to comment.