Skip to content

ci: automate cloud plugin draft releases - #157

Merged
EF1874 merged 1 commit into
mainfrom
docs-sync/openclaw-cloud-auto-draft-release
Aug 14, 2026
Merged

EF1874 merged 1 commit into
mainfrom
docs-sync/openclaw-cloud-auto-draft-release

Conversation

@MLittleprince

Copy link
Copy Markdown
Collaborator

Summary

  • trigger the cloud-plugin release workflow after a same-repository PR is merged into main and all four committed version files increase consistently
  • derive stable/prerelease npm channels automatically, publish and verify npm, then create an immutable tag and a human-reviewed Draft Release
  • keep stable Docs synchronization behind the manual Publish release boundary; prereleases remain excluded from formal Docs synchronization
  • add fail-closed version gates, immutable-source checks, bounded npm/GitHub propagation verification, idempotent reruns, and explicit metadata recovery
  • support optional reviewed .github/release-notes/v<version>.md files while retaining the 106 evidence-backed draft path
  • document the release-owner workflow and remove any need for Actions to create version-update PRs

Release behavior

  • ordinary merges with unchanged versions are skipped
  • partial, inconsistent, downgraded, or ambiguous version transitions fail closed
  • stable versions use npm latest and create a normal Draft Release
  • beta/alpha/other prereleases use beta/alpha/next and create a Prerelease Draft
  • npm version, gitHead, and dist-tag are verified before tag/Draft creation
  • a rerun after npm success verifies the original merge commit and only completes missing tag/Release metadata

Validation

Review notes

This PR does not change any of the four package version values, so merging this PR must not publish npm or create a release. The first real end-to-end automatic publish will occur only when a later reviewed PR consistently increases all four version files.

The repository does not need to enable Allow GitHub Actions to create and approve pull requests. Actions consume the reviewed main commit and never create a version-writeback PR.

@EF1874
EF1874 merged commit e4b4d8b into main Aug 14, 2026
10 checks passed
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.

2 participants