Repository navigation
🐛 fix(publish-github-release): create the release on the existing tag - #68
Merged
Merged
Conversation
GitHub checks a release target's workflow files against the default branch tip and refuses GITHUB_TOKEN, which lacks the workflows permission, once a later merge changed a workflow. simplint 0.11.0 hit this when a CI change merged while its release built. The tag already exists, so drop the target and stop if the tag is missing or points at another commit.
This was referenced Nov 12, 2026
gaborbernat
added a commit
to quotaline/quotaline
that referenced
this pull request
Nov 16, 2026
The shared workflows move to [github-workflows 6.8.3](https://github.com/tox-dev/github-workflows/releases/tag/6.8.3). 🔧 The release-tools refresh deletes an expired cutoff exception that its own refresh makes redundant, instead of failing on it ([#69](tox-dev/github-workflows#69)), and its pull request takes the default title `🔧 build(deps): refresh project lock` ([#72](tox-dev/github-workflows#72)), so this repository's title override is removed and the title gains the 🔧 prefix. Releases no longer fail with `Resource not accessible by integration` when a pull request that changes a workflow merges while the release builds, since the GitHub release is now drafted on the existing tag ([#68](tox-dev/github-workflows#68), [6.8.0...6.8.3](tox-dev/github-workflows@6.8.0...6.8.3)).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A release published by
publish-github-releasecould fail withResource not accessible by integrationwhen a pull request that changed a workflow file merged while the release was building. blinkbitcoin/shared-workflows#29 traces the 403 to GitHub comparing a new tag's workflow files with the default branch tip, which the job's token cannot pass. 🐛 Once this merges, the draft is created on the existing tag, so such a merge no longer blocks a release.The Action sent a target commit when it created the draft. The create-release API leaves that target unused when the Git tag already exists, so the request now names only the tag. Without a target, a missing tag would land on the default branch tip when the draft is published. The Action therefore reads the tag's commit first and stops when the tag is missing or names another commit.
Callers now need to push the tag before they publish the release. A missing tag, or one that names another commit than
commit, fails withtag <tag> must exist and point at <commit>. Thecommitinput stays required, and the troubleshooting page lists the new error.