Commit bbece9e
ci: add Conventional Commits enforcement for PR titles (#337)
* ci: add PR title lint for Conventional Commits
Adds a GitHub Action that validates PR titles follow the Conventional
Commits format (type(scope): description). Since this repo uses
squash-merge, the PR title becomes the commit message on main, which
release-please uses for changelog generation.
Prevents commits from being silently dropped from the changelog when
merged without a conventional prefix.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: clarify PR title convention for release-please in AGENTS.md
Expand the commit message section to explain that PR titles are the
commit messages (squash-merge), that non-conforming titles are blocked
by CI and silently dropped from the changelog, and include a concrete
bad/good example to guide agents.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: add PR template with Conventional Commits guidance
Adds a pull_request_template.md that reminds authors the PR title
becomes the changelog entry via release-please. Includes the format
spec, type→changelog mapping, and a bad/good example.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(ci): replace third-party action with inline regex check
The pinned SHA for amannn/action-semantic-pull-request was not
resolvable. Replace with a zero-dependency bash regex check that
validates PR titles against the Conventional Commits pattern.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 14e7b7f commit bbece9e
3 files changed
Lines changed: 72 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
118 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
| |||
0 commit comments