Skip to content

fix: add contents:write permission to beta workflow#74

Merged
jay9297 merged 1 commit into
devfrom
claude/github-actions-failure-6firsu
Jun 12, 2026
Merged

fix: add contents:write permission to beta workflow#74
jay9297 merged 1 commit into
devfrom
claude/github-actions-failure-6firsu

Conversation

@jay9297

@jay9297 jay9297 commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • The beta.yml workflow was failing with HTTP 403 on the releases/generate-notes API endpoint
  • Root cause: the job had no permissions block, so GITHUB_TOKEN ran with repository defaults which lack contents: write
  • Fix: add permissions: contents: write to the push-beta job

Test plan

  • Re-run the beta workflow and confirm the Generate Release notes step succeeds (no more 403)

https://claude.ai/code/session_01Fnd5PyQgSH8pBiohz7xepD


Generated by Claude Code

The generate-notes API endpoint requires contents:write but the job had
no permissions block, causing a 403 from GITHUB_TOKEN.

https://claude.ai/code/session_01Fnd5PyQgSH8pBiohz7xepD
@github-actions

Copy link
Copy Markdown

🔄 Cycle 1, attempt 1/3
✅ Agent succeeded (cycle 1, attempt 1)

@jay9297
jay9297 marked this pull request as ready for review June 12, 2026 01:33
@jay9297
jay9297 merged commit 31e61ac into dev Jun 12, 2026
10 checks passed
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