Skip to content

Commit 56e9a17

Browse files
committed
ci: enforce conventional pr titles
1 parent da40913 commit 56e9a17

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/semantic-pr.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Enforce Conventional PR Title
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
- reopened
9+
- synchronize
10+
- ready_for_review
11+
12+
permissions:
13+
pull-requests: read
14+
15+
jobs:
16+
semantic-pr:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: amannn/action-semantic-pull-request@v5
20+
with:
21+
types: |
22+
build
23+
chore
24+
ci
25+
docs
26+
feat
27+
fix
28+
perf
29+
refactor
30+
revert
31+
style
32+
test
33+
- name: PR title follows Conventional Commits
34+
run: echo "✅ PR title matches Conventional Commits"

0 commit comments

Comments
 (0)