Skip to content

Commit

Permalink
chore(repo): pr title check should use valid regex
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Oct 30, 2023
1 parent 2c18eeb commit 23c5ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
uses: clowdhaus/actions/pr-title@v0.1.0
with:
on-fail-message: "Your PR title doesn't match the required format. The title should be in the conventional commit (https://www.conventionalcommits.org/en/v1.0.0-beta.4/) format. e.g.\n\n```\nchore(plugin-name): add pr title workflow\n```"
title-regex: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([\w|,|\-|\|]+\))?(!)?\:\s.*$'
title-regex: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\(([*]|[\w|,|\-|\|]+)\))?(!)?\:\s.*'
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 23c5ca7

Please sign in to comment.