Repository navigation
ci(pr-title): reusable Conventional Commits title check, also run on this repository - #4
Merged
Merged
Conversation
…this repository Every house repository squash-merges, so the pull request title is the subject of the commit on the default branch. The workflow accepts type(scope): subject with the eleven standard types and GitHub's own Revert title, reads the title through an environment variable and uses no third-party action. self-check.yml runs it on this repository's own pull requests.
numinia-ci-puerta
Bot
requested review from
Christian-Numen,
MariaGarciaJordan and
PabloFMM
November 10, 2026 08:54
PabloFMM
approved these changes
Nov 10, 2026
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.
What
A reusable workflow,
.github/workflows/pr-title.yml, that checks the title of a pull request is a Conventional Commits 1.0.0 title:type(scope): subject, with the types feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, an optional scope and an optional!. GitHub's own revert title,Revert "<original title>"(straight or curly quotes), is accepted too.self-check.ymlruns it on this repository's own pull requests (and onedited), and the README table lists it.Why
Every house repository squash-merges, so the pull request title is the subject of the commit on the default branch. A checked title gives one grammar everywhere, and later the type can decide the next version number. Repositories call this workflow pinned by commit hash, like the secret scan; nothing is copied.
How it was checked
actionlint1.7.12 (release binary verified against its published checksums) on all three workflow files: no findings.runscript was executed on 15 titles:docs(missions): ...,feat(web): ...,fix(machine)!: ..., Dependabot'schore(deps): ...andci(deps): ..., and both revert forms pass;missions: ...,standards: ..., a free sentence,feat:with an empty subject, a capitalised type, an empty scope, a missing colon and an empty title fail. 0 mismatches.grep, so it never runs as code.What a reviewer should check
pr-title.yml(types, scope characters, the revert form).self-check.ymlrunning oneditedis acceptable for this repository.After merge
The archive, the engine and platform each add a short caller pinned to the merge commit, in their own pull request. Nothing is required in any ruleset until Pablo marks the check.