Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Fix permissions for GHA release job to designate a release on GitHub #191

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

amotl
Copy link
Contributor

@amotl amotl commented Oct 18, 2024

Problem

error: while submitting {"tag_name":"4.2.0","name":"4.2.0","body":"4.2.0","draft":false,"prerelease":false,"generate_release_notes":false}: invalid response body: {"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"403"}

See: https://github.com/grafana-toolbox/grafana-client/actions/runs/11406586752/job/31740673737

Solution

-- https://stackoverflow.com/a/70448851

error: while submitting {"tag_name":"4.2.0","name":"4.2.0","body":"4.2.0","draft":false,"prerelease":false,"generate_release_notes":false}: invalid response body: {"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"403"}

https://github.com/grafana-toolbox/grafana-client/actions/runs/11406586752/job/31740673737

-- https://stackoverflow.com/a/70448851
@amotl amotl merged commit 1925f8e into main Oct 18, 2024
1 check passed
@amotl amotl deleted the gha-fix-release-permissions branch October 18, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant