Skip to content

Commit

Permalink
Add: Set required contents read permission on cc workflow
Browse files Browse the repository at this point in the history
To check for available conventional commits the workflow need to be able
to read the contents of the repository. For public repos this isn't
strictly required but maybe it elevates the permission for PRs from
externals.
  • Loading branch information
bjoernricks committed May 17, 2023
1 parent 7cba281 commit a6a2757
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

permissions:
pull-requests: write
contents: read

jobs:
conventional-commits:
Expand Down

0 comments on commit a6a2757

Please sign in to comment.