Skip to content

Commit

Permalink
apply review
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjuan committed May 11, 2024
1 parent 3adf016 commit cde7ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/breaking-pr-check/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function getPullRequest() {
}

function checkTitle(title) {
if (/^[a-z]+(\([a-z]+\))?!: /.test(title)) {
if (/^[a-z]+(\([a-z-]+\))?!: /.test(title)) {
raiseError(
`Do not use exclamation mark ('!') to indicate breaking change in the PR Title.`,
);
Expand Down

0 comments on commit cde7ec4

Please sign in to comment.