Skip to content

ci: enforce pr title format via a github actions workflow#538

Merged
SaboniAmine merged 1 commit intomainfrom
ci/add_pr_enforce_title_job
Feb 18, 2026
Merged

ci: enforce pr title format via a github actions workflow#538
SaboniAmine merged 1 commit intomainfrom
ci/add_pr_enforce_title_job

Conversation

@SaboniAmine
Copy link
Copy Markdown
Member

Description

This PR adds a Github Actions workflow, executed on all PRs, checking the PR title against a regex based on conventional commits format (https://www.conventionalcommits.org/en/v1.0.0/).
This title formatting is enforced to avoid problems on PRs with a several commits, where squashing involves that the commit message is replaced by the PR title.

Related Issue

Fixes #(issue number)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Additional Notes

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Comment thread .github/workflows/pr-title.yaml
@SaboniAmine SaboniAmine force-pushed the ci/add_pr_enforce_title_job branch from bd12acd to 55bdadc Compare February 18, 2026 10:02
Copy link
Copy Markdown
Collaborator

@gsprochette gsprochette 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 a lot :)

@SaboniAmine SaboniAmine merged commit bd5f322 into main Feb 18, 2026
7 checks passed
rensortino pushed a commit to rensortino/pruna that referenced this pull request Feb 18, 2026
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