chore: automate SemVer bumps with Release Please - #36
Open
Vinay Shende (vinay79n) wants to merge 2 commits into
Open
chore: automate SemVer bumps with Release Please#36Vinay Shende (vinay79n) wants to merge 2 commits into
Vinay Shende (vinay79n) wants to merge 2 commits into
Conversation
Copilot started reviewing on behalf of
Vinay Shende (vinay79n)
September 10, 2026 08:00
View session
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved workflow, lockfile validation, release filtering, and fork-support issues block approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Automates SemVer releases with Release Please, Conventional Commit validation, version guards, and updated documentation.
Changes:
- Adds Release Please configuration, manifest, and workflow.
- Validates PR titles and replaces manual release checks.
- Documents release and versioning conventions.
File summaries
| File | Summary |
|---|---|
release-please-config.json |
Configures Python releases; moderate issue: non-release commit types still trigger patch releases. |
README.md |
Documents release operations; nit: PAT guidance omits issues: write. |
.release-please-manifest.json |
Seeds version 0.6.1. |
.github/workflows/release-please.yaml |
Runs automated release management on main. |
.github/workflows/lint-pr-title.yaml |
Validates titles; moderate issue with fork PR support under pull_request. |
.github/workflows/ci-cd-ds-platform-utils.yaml |
Adds version guards; critical bypass risk via branch naming and moderate incomplete uv.lock validation. |
Review details
Suppressed comments (3)
.github/workflows/lint-pr-title.yaml:4
- Using
pull_requestmeans this check cannot reliably validate fork-based PRs: the action's v6 documentation notes that this trigger has no usable token for fork PRs, so the required title check errors or is unavailable to external contributors. This workflow only reads PR metadata, so usepull_request_targetwithout checking out PR code.
pull_request:
README.md:123
- These instructions omit
issues: write, but the Release Please action's workflow example grantscontents,issues, andpull-requestswrite permissions. The workflow-level permissions do not apply to a replacement PAT, so a PAT configured with only the two permissions listed here can fail while labeling or managing the release PR.
Enable **Allow GitHub Actions to create and approve pull requests** under **Settings → Actions → General**. To run CI on the release PR, point `release-please.yaml` at a PAT with `contents` and `pull-requests` instead of `GITHUB_TOKEN`.
release-please-config.json:3
- With the Python strategy, every parsed conventional commit is passed to the default versioning strategy; anything that is not
feator breaking falls through to a patch bump. As a result, this merge'schore:commit (and the documentedci:,test:,refactor:,style:, orbuild:commits) will still open a release PR for0.6.2, contradicting the README and PR summary. Add a reliable commit filter/wrapper or revise the documented policy so the configured behavior matches the stated release rules.
"release-type": "python",
- Files reviewed: 6/6 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Abhishek Patil (abhishek-pattern)
previously approved these changes
Sep 11, 2026
Vinay Shende (vinay79n)
force-pushed
the
chore/release-please
branch
from
September 11, 2026 08:47
87ae4b4 to
93d06d7
Compare
Abhishek Patil (abhishek-pattern)
approved these changes
Sep 11, 2026
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
pyproject.toml/uv.lockversions are bumped from Conventional Commit PR titles (SemVer:fix:patch,feat:minor,feat!:breaking).project.version. After merge, a separate release PR is opened; merging that PR tagsvX.Y.Zand creates a GitHub Release.check-version/tag-versionjobs. CI now rejects manual version bumps and requires a conventional PR title. README documents titles, squash-merge, and FAQ.Current version is seeded at 0.6.1. While on
0.y.z, breaking changes bump minor (not1.0.0).After merge
chore:PR will not cut a release. The nextfix:/feat:/docs:onmainwill open the first release PR.Release Please — demo evidence
Same setup as this PR: Python Release Please, versions from squash-merge PR titles, no version edits on feature PRs, bot release PR updates
pyproject.toml/uv.lock/CHANGELOG.mdand tagsvX.Y.Z.Proven in release-please-test-repo.
What we ran
Setup — Merged PR #1 (
chore:). Turned on Allow GitHub Actions to create and approve pull requests. Release Please ran and opened no release PR. Version stayed0.1.0. The version-guard failure on this first PR was expected (None → 0.1.0becausemainhad nopyproject.tomlyet).Single PATCH — Merged PR #2 (
fix:). Bot opened PR #3 at 0.1.1. Merging it taggedv0.1.1.Highest bump wins — Merged PR #4 (
fix:). Bot PR went to 0.1.2. Then merged PR #5 (feat:) before cutting the release. Bot PR updated to 0.2.0 (not0.1.2, not0.1.3). Merging PR #6 taggedv0.2.0. Changelog listed both the fix and the feat.What this proves
chore:does not bump.fix:→ PATCH;feat:→ MINOR.v*tag.Test plan
mainand does not open a release PR (chore only).fix:orfeat:merge, confirm a release PR bumpspyproject.tomlandCHANGELOG.md.