Repository navigation
ci(release): publish stores only after an immutable GitHub release - #4
Merged
Merged
Conversation
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.
Release immutability is now enabled on this repository (
GET /repos/rootform-dev/editors/immutable-releasesreturnsenabled: true), so a published release, its VSIX andSHA256SUMS, and its version tag can no longer change.The release workflow now relies on that record:
github-releasecreates the release only when no published release exists for the tag (gh still uploads to a draft and publishes last), so re-running failed jobs resumes instead of failing on an existing release.sha256sumof the VSIX andSHA256SUMS), with a short wait for the lock.docs/releasing.mddescribes the guarantee and how to resume.Validation:
actionlint .github/workflows/release.yml,bun run check:format; a local stub run of the digest comparison reportsmatchfor identical files andmismatchwhen an asset is missing.verifyruns in CI. No tag or release is created by this PR.