Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc committed May 14, 2024
1 parent 3640305 commit e13e53f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"LABEL": {
"name": "invalid pr title",
"color": "FF0000"
},
"CHECKS": {
"regex": "^(feat|fix|build|chore|ci|docs|style|refactor|perf|test|(r|R)evert)(\\([\\w_-]+\\))?: [^A-Z]"
}
}


17 changes: 17 additions & 0 deletions .github/workflows/pr-title-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "PR Title Checker"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: thehanimo/pr-title-checker@v1.4.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e13e53f

Please sign in to comment.