Skip to content

Commit

Permalink
GoReleaser: use write scope for contents
Browse files Browse the repository at this point in the history
this is needed to update the Homebrew formula in the repo itself.
  • Loading branch information
talal committed Oct 4, 2023
1 parent bb612d9 commit d937499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ghworkflow/workflow_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func releaseWorkflow(cfg *core.GithubWorkflowConfiguration) {
return
}

w.Permissions.Contents = tokenScopeRead
w.Permissions.Contents = tokenScopeWrite
w.Permissions.Packages = tokenScopeWrite

w.On.Push.Branches = nil
Expand Down

0 comments on commit d937499

Please sign in to comment.