Skip to content

Commit 74cb1ca

Browse files
authored
chore: add github workflow to check PR title (#277)
Add github workflow to check PR title
1 parent cbcfd8c commit 74cb1ca

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 'Lint PR'
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- reopened
8+
- edited
9+
10+
jobs:
11+
main:
12+
name: Validate PR title
13+
runs-on: ubuntu-slim
14+
permissions:
15+
pull-requests: read
16+
steps:
17+
- uses: amannn/action-semantic-pull-request@v6
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
types: |
22+
fix
23+
feat
24+
chore
25+
deps
26+
docs

0 commit comments

Comments
 (0)