Skip to content

Fix 403 on release creation by reordering publish steps#552

Merged
IanButterworth merged 2 commits intomasterfrom
ib/fix_release2
Apr 8, 2026
Merged

Fix 403 on release creation by reordering publish steps#552
IanButterworth merged 2 commits intomasterfrom
ib/fix_release2

Conversation

@IanButterworth
Copy link
Copy Markdown
Member

The "Pin action refs" commit modifies .github/workflows/tagbot.yml. Pushing workflow file changes to the default branch while a workflow is running can cause GitHub to invalidate the GITHUB_TOKEN, resulting in intermittent 403 "Resource not accessible by integration" errors on the subsequent create_release() API call.

Move update_tags() and create_release() before the pin-refs push so the GITHUB_TOKEN is used while it's still valid.

IanButterworth and others added 2 commits April 7, 2026 22:15
The "Pin action refs" commit modifies .github/workflows/tagbot.yml.
Pushing workflow file changes to the default branch while a workflow is
running can cause GitHub to invalidate the GITHUB_TOKEN, resulting in
intermittent 403 "Resource not accessible by integration" errors on the
subsequent create_release() API call.

Move update_tags() and create_release() before the pin-refs push so the
GITHUB_TOKEN is used while it's still valid.

Co-Authored-By: Claude <claude@users.noreply.github.com>
@IanButterworth IanButterworth merged commit 8696afc into master Apr 8, 2026
2 checks passed
@IanButterworth IanButterworth deleted the ib/fix_release2 branch April 8, 2026 23:12
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