Skip to content

Commit f749c5b

Browse files
authored
ci: add-conventional-commit-check-action (#19)
* ci: add-conventional-commit-check-action * ci: use-ubuntu * ci: refresh-file * ci: reverted-name
1 parent bd89512 commit f749c5b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Conventional Commit
2+
3+
on:
4+
pull_request:
5+
types:
6+
- edited
7+
- opened
8+
9+
jobs:
10+
conventional-commit:
11+
name: Conventional Commit
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check PR Conventional Commit title
15+
uses: amannn/action-semantic-pull-request@v5
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
types: |
20+
feat
21+
fix
22+
infra
23+
ci
24+
docs
25+
deps
26+
perf
27+
refactor
28+
test
29+
chore

0 commit comments

Comments
 (0)