Repository navigation
feat(ci): automate label-based release versioning with Release Drafter - #24
Open
imshubham22apr-gif wants to merge 1 commit into
Open
imshubham22apr-gif wants to merge 1 commit into
imshubham22apr-gif wants to merge 1 commit into
Conversation
imshubham22apr-gif
force-pushed
the
feature/automate-release-versioning
branch
from
November 10, 2026 18:52
fc8f94b to
3182b3c
Compare
8 tasks
Author
|
Hi @jpower432, Ready for review! All local suites ( A quick note regarding repository configuration needed to support this flow:
Also, when the Let me know if you’d like any adjustments to the label defaults or workflow configuration! |
imshubham22apr-gif
force-pushed
the
feature/automate-release-versioning
branch
2 times, most recently
from
November 11, 2026 07:38
73d5c32 to
99c3eea
Compare
Resolves gemaraproj#23) Signed-off-by: imshubham22apr-gif <imshubham.22apr@gmail.com>
imshubham22apr-gif
force-pushed
the
feature/automate-release-versioning
branch
from
November 11, 2026 10:02
99c3eea to
f02e3eb
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates release automation to adopt the organization's standard reusable release workflow:
github-community-projects/ospo-reusable-workflows/.github/workflows/release.yaml@ee8277bd76ef808b3a6e0bdd1f5a46a520a12c5d # v2.3.1(following the pattern established ingemaraproj/go-gemara), while retaining maintainer control over version bumping and preserving PyPI Trusted Publishing.Release Flow
Changes
1. Reusable Workflow Integration (
.github/workflows/release.yml)github-community-projects/ospo-reusable-workflows/.github/workflows/release.yaml@ee8277bd76ef808b3a6e0bdd1f5a46a520a12c5d # v2.3.1.release-only-with-label: trueandrelease-config-name: release-drafter.yml.group: release,cancel-in-progress: false).publish-pypidirectly onneeds: releasewhenneeds.release.outputs.full-tag != ''.2. Standardized Release Drafter Config (
.github/release-drafter.yml)breaking,major,feature,enhancement,minor,fix,maintenance,patch) and namespaced variants (release:major,release:minor,release:patch).include-pre-releases: trueso the repository'sv0.1.0pre-release is properly anchored as the previous release baseline.skip-changelogto omit release-preparation PRs from notes and version calculation.gemaraproj/go-gemara.3. Maintainer Version Preparation (
.github/workflows/prepare-release.yml&tools/validate_release_version.py)workflow_dispatchaccepting versionX.Y.Z.pyproject.toml.pyproject.tomland synchronizesuv.lock(uv lock --check).release-prep/v<version>) labeled withreleaseandskip-changelog.4. Tests & Documentation
tests/tools/test_release_version.pyvalidate semver parsing, API helpers, and parse.github/release-drafter.ymldirectly to verify resolution across all label combinations.CONTRIBUTING.mddocumenting the reusable workflow, label semantics, maintainer runbook, and troubleshooting.Verification
uv run poe test— 134 passeduv run poe lint— cleanuv run ruff format --check .— cleanuv run poe typecheck— 0 issues in 17 source filesuv lock --check— synchronizeduv build— built sdist + wheel cleanlyuvx zizmor .github/workflows— 0 security findings across all workflowsResolves #23
/cc @jpower432