Skip to content

Commit

Permalink
ci: PR title regex restriction Chinese (OpenAtomFoundation#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
baerwang authored Jun 15, 2024
1 parent 033e277 commit 9d0cbb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"color": "B60205"
},
"CHECKS": {
"regexp": "^(feat|fix|test|refactor|chore|style|docs|perf|build|ci|revert)(\\(.*\\))?:.*",
"regexp": "^(feat|fix|test|refactor|chore|upgrade|bump|style|docs|perf|build|ci|revert)(\\(.*\\))?:[^\u4e00-\u9fa5]+$",
"ignoreLabels": [
"ignore-title"
]
}
}

}
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: thehanimo/[email protected].1
- uses: thehanimo/[email protected].2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
Expand Down

0 comments on commit 9d0cbb0

Please sign in to comment.