Skip to content

Commit abd23d9

Browse files
gjtorikianclaude
andcommitted
Add PR title linter to enforce Conventional Commits
release-please uses conventional commit messages to determine version bumps. This workflow validates PR titles follow the format so squash merges produce correct commit messages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7bb0fb2 commit abd23d9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Lint PR Title
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
permissions:
11+
pull-requests: read
12+
13+
jobs:
14+
main:
15+
name: Validate PR title
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: amannn/action-semantic-pull-request@v5
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)