Skip to content

Commit

Permalink
ci: add pr title validation (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
seren5240 committed Mar 19, 2024
1 parent 69c7845 commit b1d4df1
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pr-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: pr-lint

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

permissions:
pull-requests: read

jobs:
main:
name: validate PR title
runs-on: "nscloud-ubuntu-22.04-amd64-4x16"
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
build
chore
ci
docs
feat
fix
perf
refactor
revert
style
test

0 comments on commit b1d4df1

Please sign in to comment.