Skip to content

Commit cc2587a

Browse files
committed
feat: add pr lint
1 parent 7710d56 commit cc2587a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/lint-pr.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Lint PR
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
main:
12+
name: Validate PR title
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: amannn/action-semantic-pull-request@v5
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
scopes: |
20+
ci
21+
DeFi
22+
NFT
23+
DAO
24+
CRYPTO
25+
requireScope: true

0 commit comments

Comments
 (0)