Repository navigation
ci: match GitLab CI to GitHub and share the PR title check - #36
Merged
Merged
Conversation
- Add pr-title workflow (action-semantic-pull-request) on open/edit/sync - Document the PR-title rule in AGENTS.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Check PR/MR titles with one script (ci/check_pr_title.py) on both platforms - GitLab: test Python 3.10 and 3.13, branch pipelines only for main/development - GitLab: report ruff findings in the MR widget - Document the title check and CI parity in AGENTS.md and README Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Squash merges make the PR title the commit subject on
development, so a non-Conventional title lands a non-Conventional commit (e.g.fa276dd, #30). This adds a title check and brings GitLab CI in line with GitHub.ci/check_pr_title.py: one checker for both platforms (Conventional Commits types, optional scope and!; GitLabDraft:prefixes ignored). Run by.github/workflows/pr-title.ymlon PR open/edit/sync/reopen and by amr-titlejob on GitLab MR pipelines..gitlab-ci.yml: test matrix 3.10 and 3.13 (was 3.12); branch pipelines only formain/development; ruff findings in the MR Code Quality widget;pytest -ra.Platform differences
Testing
tests/test_pr_title.py; 569 passed on 3.10/3.12/3.13;ruff check .clean.mr-titlejobs run on the mirrored MR.🤖 Generated with Claude Code