Skip to content

Commit

Permalink
fix: remove unnecessary # suffix check form PR title regex (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci authored Aug 7, 2024
1 parent c6348e5 commit 6481bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Lint PR Title
run: |
REGEX="^(fix|feat|refactor|revert|test|perf|style|chore|docs): [a-z][^.]{0,60}( \\(\\#\\d+\\))?$"
REGEX="^(fix|feat|refactor|revert|test|perf|style|chore|docs): [a-z][^.]{0,60}$"
if echo "${PR_TITLE}" | grep -Eq "${REGEX}"; then
echo -e "PR title is valid: ${PR_TITLE}"
else
Expand Down

0 comments on commit 6481bfa

Please sign in to comment.