Skip to content

Commit 7b2529c

Browse files
authored
feat: add check PR title action
1 parent 7948fb0 commit 7b2529c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/pr.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Check PR title
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
- ready_for_review
10+
11+
permissions:
12+
pull-requests: read
13+
14+
jobs:
15+
############ SEMANTIC PR TITLE VALIDATION ############
16+
semantic-pr:
17+
name: Validate PR title
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: amannn/action-semantic-pull-request@v5
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)