Skip to content

ci(release): use a conventional title for release PRs - #766

Open
jariy17 wants to merge 1 commit into
mainfrom
fix/release-pr-title
Open

jariy17 wants to merge 1 commit into
mainfrom
fix/release-pr-title

Conversation

@jariy17

@jariy17 jariy17 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Description

Release PRs opened by the release workflow fail validate-pr-title on every release:

No release type found in pull request title "Release vX.Y.Z".

This titles the release PR and its single commit chore(release): vX.Y.Z, matching the release PRs in aws/agentcore-cli and aws/agentcore-l3-cdk-constructs.

Both lines must change together. The title check runs amannn/action-semantic-pull-request with validateSingleCommitMatchesPrTitle: true, and every release PR has exactly one commit (chore: bump version to X.Y.Z). Changing only the title, as the issue suggests, would fail the check again with "The pull request title doesn't match the commit".

Nothing parses the old title or commit message: the publish step keys off the release/v* head branch, which is unchanged.

Related Issues

Closes #757

Type of Change

Bug fix

Testing

  • Ran the action's own validatePrTitle (v6.1.1) plus its single-commit checks, with the exact reusable-workflow config, against the title and commit rendered from this workflow:
    • main: fails with the error above
    • this branch: passes
    • title-only change: fails on the commit mismatch
    • normal titles (feat(runtime): add warmup handler, fix: handle empty payload, Add new feature, feat: Add new feature, feature: add thing) pass/fail as before
  • actionlint output on the release workflows is identical before and after this change.

The release PR title "Release vX.Y.Z" has no Conventional Commits type, so
validate-pr-title fails on every release PR. Title the PR and its single
commit "chore(release): vX.Y.Z", matching agentcore-cli and
agentcore-l3-cdk-constructs. Both must change together: the check also
requires a single-commit PR's commit subject to equal the PR title.
@github-actions github-actions Bot added the size/xs PR size: XS label Nov 30, 2026
@jariy17
jariy17 marked this pull request as ready for review November 30, 2026 22:07
@jariy17
jariy17 requested a review from a team November 30, 2026 22:07
@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Nov 30, 2026
@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label Nov 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release PR title fails validate-pr-title

1 participant