Skip to content

chore(workflow): add release and main scopes to PR title validation#6

Merged
hiskudin merged 1 commit into
mainfrom
chore/add-release-scope
Mar 3, 2026
Merged

chore(workflow): add release and main scopes to PR title validation#6
hiskudin merged 1 commit into
mainfrom
chore/add-release-scope

Conversation

@hiskudin

@hiskudin hiskudin commented Mar 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add release and main scopes to semantic PR title validation so release-please PRs and manual version bump PRs pass the check
  • Set last-release-sha in release-please-config.json to prevent old commits from being included in future releases

Test plan

  • Next release-please PR will use chore(main): release ... which now passes validation
  • Manual version PRs can use chore(release): ... scope
  • Release-please will only consider commits after the 0.4.0 merge, so next release will be 0.4.1 (patch) or 0.5.0 (minor) depending on commit types

🤖 Generated with Claude Code

Allows release-please PRs (scoped as `main`) and manual version bump
PRs (scoped as `release`) to pass the PR title check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 3, 2026 14:20
@hiskudin hiskudin merged commit a38790c into main Mar 3, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates PR-title semantic validation to allow release automation and manual version bump PRs, and adjusts release-please configuration to anchor future releases to a specific historical commit.

Changes:

  • Added release and main to the allowed scopes for the semantic PR title check.
  • Set last-release-sha for the root package in release-please-config.json to control the commit range considered by release-please.

Reviewed changes

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

File Description
release-please-config.json Adds last-release-sha for the . package to prevent older commits from being considered in future releases.
.github/workflows/semantic-pull-request.yml Extends allowed semantic PR title scopes to include release and main for release-please/manual version bump PRs.

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

@hiskudin hiskudin deleted the chore/add-release-scope branch March 3, 2026 14:25
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