Skip to content

Commit ab772db

Browse files
committed
Add github workflow to check PR title
1 parent cbcfd8c commit ab772db

File tree

1 file changed

+22
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)