ci: publish reviewed main versions without Actions PRs - #153
Merged
Conversation
EF1874
approved these changes
Jul 29, 2026
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.
Summary
main; the workflow no longer edits source versions, pushes a release branch, or creates a version writeback PRpackage.json,openclaw.plugin.json,moltbot.plugin.json, andclawdbot.plugin.jsonat the immutable release ref before any publishsource_commit, require the exact 40-character commit for a real publish, and stop before npm ifmainmoved after approvalX.Y.Z+latest-> npm stable + published GitHub Release + formal Docs syncX.Y.Z-beta.N+beta(oralpha/next) -> npm preview + GitHub Prerelease; 106 skips the formal Docs PRgitHead, and fail closed if recovery is requested for a version that does not already exist on npmpull-requests: write; this flow does not require Allow GitHub Actions to create and approve pull requestsRelease-owner workflow after merge
main.dry_run=true.release-source.json.source_commit.dry_run=false, the same version/channel, the exactsource_commit, andPUBLISH v<VERSION>.Validation
npm test— 120/120 passedactionlint— passedgit diff --check— passednpm pack --dry-run --json— passed, 17 package files0.1.20-beta.0against currentHEAD— passed0.1.20against currentHEAD— correctly failed and reported all four mismatched filesscripts/test_release_sync.pysmoke tests — passed, includingprerelease -> skip_prereleaseandwould_create_docs_pr=falseNo npm publish, tag, GitHub Release, or production deployment was triggered while preparing this PR.