Skip to content

Conversation

@Danil-Grigorev
Copy link

@Danil-Grigorev Danil-Grigorev commented Apr 23, 2025

Following https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token#overview, we need to enable discussions: write on the job to allow gh execution to pass.

Context: https://github.com/rancher-sandbox/cluster-api-addon-provider-fleet/actions/runs/14619424871/job/41016176936

Run gh release create v0.8.0 --generate-notes --discussion-category "Announcements" metadata.yaml _out/addon-components.yaml
HTTP 404: Discussion could not be created. Make sure you passed a valid category name. (https://api.github.com/repos/rancher-sandbox/cluster-api-addon-provider-fleet/releases/214231238)
Error: Process completed with exit code 1.

Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
@Danil-Grigorev Danil-Grigorev merged commit d7bf769 into main Apr 23, 2025
26 of 29 checks passed
@Danil-Grigorev Danil-Grigorev deleted the enable-discussions-on-release branch April 23, 2025 14:00
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.

2 participants