Skip to content

ci: migrate release-please to reusable workflow#25

Merged
kojiromike merged 1 commit into
mainfrom
kojiromike/release-please-reusable-migration
May 7, 2026
Merged

ci: migrate release-please to reusable workflow#25
kojiromike merged 1 commit into
mainfrom
kojiromike/release-please-reusable-migration

Conversation

@kojiromike
Copy link
Copy Markdown
Contributor

Summary

Replaces the inline release-please workflow with a thin caller of the new reusable workflow at opencoreemr/github-workflows-public/.github/workflows/release-please-reusable.yml@0.0.1.

Sets \"annotated-tag\": true in release-please-config.json so the openCoreEMR/release-please-action fork creates the tag as annotated directly via the GitHub git-tag API. This replaces the post-release "Convert to annotated tag" workaround step and its long explanatory comment block.

Net diff: -58 / +7. The workflow file goes from 69 lines to 16.

Smoke test for wider migration

This is the first of 12 caller-repo migrations under the release-please normalization plan. Picked first because its config is already manifest-mode and there are no downstream jobs gated on release_created. If this works end-to-end, the same diff pattern applies to the other 11.

Test plan

  • actionlint clean
  • Pre-commit hooks pass
  • After merge: next conventional commit triggers release-please. Verify the tag is created as annotated (git cat-file -t <tag> returns tag, not commit).
  • If the bumped version doesn't appear, check that the reusable workflow's releases_created output is \"true\" in the run logs.

If the next release tag comes back as commit instead of tag, the annotated-tag: true setting didn't propagate — escalate, don't paper over.

Calls opencoreemr/github-workflows-public/.github/workflows/release-please-reusable.yml@0.0.1
instead of pasting the release-please-action invocation inline.

Sets "annotated-tag": true in release-please-config.json so the
openCoreEMR/release-please-action fork creates the tag as annotated
directly via the GitHub git-tag API. This replaces the post-release
"Convert to annotated tag" workaround step (and its long comment block).

Smoke test for the wider Task 2 migration of all 12 caller repos.

Assisted-by: Claude Code
@kojiromike kojiromike merged commit e12f4a2 into main May 7, 2026
12 of 13 checks passed
@kojiromike kojiromike deleted the kojiromike/release-please-reusable-migration branch May 7, 2026 20:38
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