Skip to content

Commit 15ec08b

Browse files
ci: enforce conventional commits (#655)
1 parent 1eb91b4 commit 15ec08b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/conventional.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: PR Labeller
2+
3+
on:
4+
pull_request_target:
5+
branches: [main]
6+
types: [opened, reopened, synchronize, edited, labeled, unlabeled]
7+
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
12+
jobs:
13+
validate_pr_title:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: PR Conventional Commit Validation
17+
uses: ytanikin/pr-conventional-commits@1.4.0
18+
with:
19+
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
20+
add_label: 'true'

0 commit comments

Comments
 (0)