Skip to content

fix(ci): handle grouped release PRs where release-please fails to tag - #23

Merged
olamide226 merged 1 commit into
mainfrom
fix/release-pipeline-grouped-prs
Mar 2, 2026
Merged

fix(ci): handle grouped release PRs where release-please fails to tag#23
olamide226 merged 1 commit into
mainfrom
fix/release-pipeline-grouped-prs

Conversation

@olamide226

Copy link
Copy Markdown
Collaborator

Summary

  • Adds npm_tags_created output to the recover-stale-releases job so downstream jobs can consume it as a fallback signal when release-please doesn't create a GitHub Release (common with grouped PRs where the merged PR title lacks the ${component} token)
  • Merges the RP signal (sdk--release_created) and the recovery signal (npm_tags_created) when deciding whether to publish to npm — either path can trigger a publish
  • Removes the ${version} token requirement from group-pull-request-title-pattern so the validation step doesn't fail for grouped PR titles that omit the version
  • Bumps examples/todo-react deps to 0.1.7 to align with latest releases

Test plan

  • Merge a grouped release PR and verify the recover-stale-releases job sets npm_tags_created=1
  • Confirm publish-npm fires via the fallback path when sdk--release_created is empty but npm_tags_created is set
  • Confirm the group-pull-request-title-pattern validation passes on the next release PR
  • Verify examples/todo-react builds cleanly with the bumped dep versions

🤖 Generated with Claude Code

- Add `npm_tags_created` output to `recover-stale-releases` job so
  downstream jobs can detect when the recovery path created tags
- Use `npm_tags_created` as a fallback signal for NPM_PUBLISH alongside
  release-please's own `sdk--release_created` output
- Remove `${version}` token requirement from group-pull-request-title-pattern
  so validation passes for grouped PRs whose titles omit the version
- Bump examples/todo-react deps to 0.1.7 to align with latest releases
- Improve debug notice to log both RP and recover-path npm signals

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Copilot AI review requested due to automatic review settings March 2, 2026 18:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the release automation to reliably trigger npm publishing for grouped release PRs when release-please fails to create GitHub Releases, and aligns the todo-react example dependencies with the latest package versions.

Changes:

  • Expose a npm_tags_created output from recover-stale-releases and use it as a fallback signal to publish npm packages when sdk--release_created is missing.
  • Relax grouped release PR title pattern requirements by removing the ${version} token and updating the workflow validation accordingly.
  • Bump examples/todo-react app version and REP package dependencies to 0.1.7.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
release-please-config.json Adjusts grouped PR title pattern to support grouped releases that omit ${version}.
examples/todo-react/package.json Updates the example app and REP dependency versions to 0.1.7.
.github/workflows/release-sdk.yml Adds a recovery job output and merges it with release-please signals to decide npm publishing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@olamide226
olamide226 merged commit f9bda37 into main Mar 2, 2026
13 checks passed
@olamide226
olamide226 deleted the fix/release-pipeline-grouped-prs branch March 2, 2026 18:58
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