Skip to content

Commit

Permalink
fix(workflows): write permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneM committed Mar 15, 2024
1 parent aa14c01 commit 55057f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ name: Test and Release Go CLI

on: [push]

# The list of permissions is explained on the GitHub doc:
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
contents: read
# Write permissions is needed to create a new release
contents: write
# allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read

Expand Down

0 comments on commit 55057f9

Please sign in to comment.