Skip to content

CI: Add PR title check workflow#16101

Merged
kevinjqliu merged 3 commits intoapache:mainfrom
manuzhang:add-pr-title-check-workflow
May 9, 2026
Merged

CI: Add PR title check workflow#16101
kevinjqliu merged 3 commits intoapache:mainfrom
manuzhang:add-pr-title-check-workflow

Conversation

@manuzhang
Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions Bot added the INFRA label Apr 24, 2026
@manuzhang manuzhang force-pushed the add-pr-title-check-workflow branch from b0d24af to f505653 Compare April 24, 2026 15:20
Comment thread .github/workflows/pr-title-check.yml Fixed
@manuzhang manuzhang force-pushed the add-pr-title-check-workflow branch from f505653 to dcb7e50 Compare April 24, 2026 15:29
@manuzhang
Copy link
Copy Markdown
Member Author

manuzhang commented Apr 28, 2026

This is to address the confusion on PR title format and I think it would be good to "enforce" it through a workflow rather than human check. WDYT? @rdblue @jbonofre @kevinjqliu

Copy link
Copy Markdown
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

I see https://github.com/amannn/action-semantic-pull-request as a popular option (and it's allowlisted by ASF already).
I've never used it, so I'm not sure if it's better.

One concern with using a GitHub workflow to check the PR title: if I open a PR with an incorrectly formatted title, the check will fail, but there's no way to re-trigger CI without pushing an empty commit.

Comment thread .github/workflows/pr-title-check.yml Outdated
Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>
Comment thread .github/workflows/pr-title-check.yml
Co-authored-by: Copilot <copilot@github.com>
@kevinjqliu kevinjqliu changed the title CI: Add PR title check workflow test, this title shouldnt work May 9, 2026
@kevinjqliu kevinjqliu changed the title test, this title shouldnt work CI: Add PR title check workflow May 9, 2026
@kevinjqliu
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for adding this.

Let's give it a try, we can revert if there's too much friction

@kevinjqliu kevinjqliu merged commit fce2504 into apache:main May 9, 2026
38 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants