Skip to content

Commit bf709ae

Browse files
authored
ci: add workflow to check conventional PR title (#61)
1 parent d77891b commit bf709ae

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Conventional Commits PR title
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
- reopened
9+
- synchronize
10+
11+
concurrency:
12+
group: ${{github.workflow}}-${{github.ref}}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
conventional-pr-title:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: amannn/action-semantic-pull-request@v5.0.2
20+
env:
21+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
22+
with:
23+
types: |
24+
build
25+
ci
26+
chore
27+
docs
28+
feat
29+
fix
30+
perf
31+
revert
32+
refactor
33+
style
34+
test
35+
requireScope: false

0 commit comments

Comments
 (0)