Skip to content

Commit

Permalink
Merge pull request #1052 from Scalingo/fix/release/permission_issue
Browse files Browse the repository at this point in the history
fix(workflows): write permissions
  • Loading branch information
EtienneM authored Mar 15, 2024
2 parents aa14c01 + 55057f9 commit 1b6fc1a
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 1b6fc1a

Please sign in to comment.