Skip to content

Commit

Permalink
feat: allow deps for conventional commits (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfoo1984 authored Jan 23, 2024
1 parent 3fe26ec commit a63ad0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/conventional-commits/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
- uses: actions/github-script@v5
with:
script: |
const validator = /^(chore|feat|fix|revert|docs|style)(\((((CCIE|CDI|PRODSEC|SECENG|ONCALL)-[0-9]+)|([a-z-]+))\))?(!)?: (.)+$/
const validator = /^(chore|feat|fix|deps|revert|docs|style)(\((((CCIE|CDI|PRODSEC|SECENG|ONCALL)-[0-9]+)|([a-z-]+))\))?(!)?: (.)+$/
const title = context.payload.pull_request.title
const is_valid = validator.test(title)
Expand Down

0 comments on commit a63ad0e

Please sign in to comment.