You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default permissions of the GITHUB_TOKEN during GitHub Actions were changed this week for the whole organization.
In our case, Goreleaser depends on having write permissions if we want to publish releases to GitHub, so this affects our CI. To solve that we have to elevate the token permissions for the CI workflow.
Reference:
Invalid workflow file: .github/workflows/ci.yml#L12
The workflow is not valid. .github/workflows/ci.yml (Line: 12, Col: 3): Error calling workflow 'theupdateframework/go-tuf/.github/workflows/release.yml@c803c81'. The nested job 'release' is requesting 'contents: write', but is only allowed 'contents: read'.
The text was updated successfully, but these errors were encountered:
In our case, Goreleaser depends on having write permissions if we want to publish releases to GitHub, so this affects our CI. To solve that we have to elevate the token permissions for the CI workflow.
The default permissions of the GITHUB_TOKEN during GitHub Actions were changed this week for the whole organization.
In our case, Goreleaser depends on having
write
permissions if we want to publish releases to GitHub, so this affects our CI. To solve that we have to elevate the token permissions for the CI workflow.Reference:
Invalid workflow file: .github/workflows/ci.yml#L12
The workflow is not valid. .github/workflows/ci.yml (Line: 12, Col: 3): Error calling workflow 'theupdateframework/go-tuf/.github/workflows/release.yml@c803c81'. The nested job 'release' is requesting 'contents: write', but is only allowed 'contents: read'.
The text was updated successfully, but these errors were encountered: