Skip to content

Commit

Permalink
fix: Update conventional commit title regex (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenthsh authored Sep 13, 2023
1 parent 5ab29f4 commit 4b0d1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/conventional_commits_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/github-script@v6
with:
script: |
const validator = /^(chore|feat|fix|revert|docs|style)(\((((CCIE|CDI|PRODSEC|SECENG|ONCALL)-[0-9]+)|([a-z]+))\))?(!)?: (.)+$/
const validator = /^(chore|feat|fix|revert|docs|style)(\((((PETI|HSENG|SAENG)-[0-9]+)|([a-z-]+))\))?(!)?: (.)+$/
const title = context.payload.pull_request.title
const is_valid = validator.test(title)
Expand Down

0 comments on commit 4b0d1a0

Please sign in to comment.