Skip to content

Add label-driven semver tagging and release automation - #4

Merged
miklosbagi merged 1 commit into
mainfrom
versioning
Aug 15, 2026
Merged

Add label-driven semver tagging and release automation#4
miklosbagi merged 1 commit into
mainfrom
versioning

Conversation

@miklosbagi

Copy link
Copy Markdown
Owner

Summary

  • pr-version-label.yml: auto-applies Tag/Patch to new PRs, blocks merge (required check) if more than one Tag/Patch|Minor|Major label is present. Zero labels is allowed (explicit no-version-bump).
  • release.yml: on merge, bumps MAJOR.MINOR.PATCH from the latest tag per whichever Tag/* label was present, creates the tag + a GitHub release (auto-generated notes) against the real merge commit.

Bilingual plain-language release summaries are added afterward by a local agent, not generated in CI.

- pr-version-label.yml: defaults a new PR to Tag/Patch, and blocks
  merging (as a required check) if more than one of Tag/Patch,
  Tag/Minor, Tag/Major is present. Zero labels is allowed -- an
  explicit way to merge without creating a new version.
- release.yml: on merge, reads whichever Tag/* label was on the PR,
  bumps MAJOR.MINOR.PATCH from the latest existing tag accordingly, and
  creates the tag + a GitHub release (with GitHub's own auto-generated
  notes) against the actual merge_commit_sha -- not the PR branch's
  original head, so this works correctly under merge, squash, or
  rebase strategies alike, and never tags a PR that didn't actually
  land on main.

No LLM call in CI for the bilingual plain-language release summary --
that gets added afterward by a local agent when available.
@github-actions github-actions Bot added the Tag/Patch Bump patch version (x.y.Z) on merge label Aug 15, 2026
@miklosbagi miklosbagi removed the Tag/Patch Bump patch version (x.y.Z) on merge label Aug 15, 2026
@miklosbagi
miklosbagi merged commit 8f65a5e into main Aug 15, 2026
8 checks passed
@miklosbagi
miklosbagi deleted the versioning branch August 15, 2026 17:18
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