Skip to content

Commit 8a2d4c9

Browse files
committed
add github action
1 parent 644bcae commit 8a2d4c9

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/conventional-commit-lint.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/lint-pr.yaml

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

0 commit comments

Comments
 (0)