Skip to content

Commit ba2fda2

Browse files
authored
ci: pr conventional commits validator (#260)
1 parent 4f89e71 commit ba2fda2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: PR Title Conventional Commit Check
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize, edited]
6+
branches:
7+
- main
8+
9+
jobs:
10+
validate-pr-title:
11+
name: Validate PR Title
12+
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: read
15+
steps:
16+
- name: PR Conventional Commit Validation
17+
uses: ytanikin/pr-conventional-commits@fda730cb152c05a849d6d84325e50c6182d9d1e9 # v1.5.1
18+
with:
19+
task_types: '["feat","fix","docs","test","refactor","ci","perf","chore","revert"]'
20+
add_label: 'false'
21+

0 commit comments

Comments
 (0)