Skip to content

ci: enforce conventional commit format for PR titles#848

Merged
fstagni merged 2 commits into
DIRACGrid:mainfrom
chrisburr:ci/enforce-pr-title-convention
Mar 24, 2026
Merged

ci: enforce conventional commit format for PR titles#848
fstagni merged 2 commits into
DIRACGrid:mainfrom
chrisburr:ci/enforce-pr-title-convention

Conversation

@chrisburr

Copy link
Copy Markdown
Member

Summary

  • Add a GitHub Actions workflow using amannn/action-semantic-pull-request@v5 to validate PR titles follow conventional commit format
  • This ensures release-please can correctly parse squash-merged commit messages for version bumps and changelog generation
  • Bot PRs (pre-commit.ci) are handled by skipping the validation step while still reporting a green check

Notes

After merging, "Validate PR title" should be added as a required status check in branch protection settings for main.

@chrisburr chrisburr force-pushed the ci/enforce-pr-title-convention branch from 77418db to afabf85 Compare March 24, 2026 10:01
@chrisburr chrisburr marked this pull request as ready for review March 24, 2026 10:06
Comment thread .github/workflows/pr-title.yml Outdated
Co-authored-by: Federico Stagni <federico.stagni@cern.ch>
@fstagni fstagni merged commit e28412a into DIRACGrid:main Mar 24, 2026
28 checks passed
@aldbr aldbr linked an issue Mar 24, 2026 that may be closed by this pull request
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.

Add a check for the title of the pull request

2 participants