Skip to content

Fix release workflow permissions for asset upload#3

Merged
chigichan24 merged 1 commit into
mainfrom
fix-release-permissions
Mar 21, 2026
Merged

Fix release workflow permissions for asset upload#3
chigichan24 merged 1 commit into
mainfrom
fix-release-permissions

Conversation

@chigichan24
Copy link
Copy Markdown
Owner

Summary

  • Add permissions: contents: write to release workflow so GITHUB_TOKEN can upload assets to the release
  • Remove redundant env: GITHUB_TOKEN block (v2 uses the default token automatically)

Context

The v0.1.0 release workflow failed with:

Resource not accessible by integration

This is because the default GITHUB_TOKEN permissions don't include write access to release assets.

Test plan

  • Merge this PR, then re-run the failed release workflow (or delete and recreate the 0.1.0 release)

🤖 Generated with Claude Code

Add contents: write permission so GITHUB_TOKEN can upload assets
to the release. Also remove redundant env GITHUB_TOKEN block
as v2 uses the default token automatically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chigichan24 chigichan24 merged commit f3db84a into main Mar 21, 2026
1 check passed
@chigichan24 chigichan24 deleted the fix-release-permissions branch March 21, 2026 16:15
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