Skip to content

Commit

Permalink
Merge pull request #1058 from phenix3443/feat/pr-lint
Browse files Browse the repository at this point in the history
feat: add pr lint
  • Loading branch information
yingjingyang authored Mar 20, 2024
2 parents 0bef569 + cc2587a commit 9c31b3e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint PR

on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
scopes: |
ci
DeFi
NFT
DAO
CRYPTO
requireScope: true

0 comments on commit 9c31b3e

Please sign in to comment.