Skip to content

fix(release-automation): say what the Release PR merge does per release type - #535

Merged
hdamker merged 1 commit into
camaraproject:release-automation-refactorfrom
hdamker:fix/ra-on-merge-texts
Nov 24, 2026
Merged

hdamker merged 1 commit into
camaraproject:release-automation-refactorfrom
hdamker:fix/ra-on-merge-texts

Conversation

@hdamker

@hdamker hdamker commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • correction

What this PR does / why we need it:

Since #534, alpha and rc releases are published on the Release PR merge. Three texts still assumed a draft for every release type:

  • Release PR body: "merging this PR publishes the release" for pre-releases, "creates the draft release" for public and maintenance releases (config.publishes_on_merge()).
  • Release Issue, snapshot-active: the action row says "merge the Release PR to publish the release" or "to create draft release" per release type; actions_for takes the release type from the issue sync, the bot comments and generate_actions_section.
  • publish_failed: the header shows the actual state instead of a fixed draft-ready. After a failed /publish-release the text is unchanged. After a failed publication on merge (state snapshot-active, no draft) it asks codeowners to contact Release Management, naming the two options (re-run the failed jobs, or /discard-snapshot <reason> and a new /create-snapshot), without a valid-actions block.

Which issue(s) this PR fixes:

Part of #476

Special notes for reviewers:

The issue sync takes the release type from release-plan.yaml of the base branch, not from the snapshot's release-metadata.yaml; the two differ only if the plan changes while a snapshot is active.

A failed draft creation on merge (public and maintenance releases) still posts no comment; that is unchanged here.

Changelog input

 release-note

Additional documentation

docs

@hdamker
hdamker merged commit 73911aa into camaraproject:release-automation-refactor Nov 24, 2026
8 checks passed
@hdamker
hdamker deleted the fix/ra-on-merge-texts branch November 24, 2026 23:11
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