diff --git a/.github/workflows/check-branch-name.yml b/.github/workflows/check-branch-name.yml index 49340dc22..23a70c3be 100644 --- a/.github/workflows/check-branch-name.yml +++ b/.github/workflows/check-branch-name.yml @@ -25,7 +25,7 @@ jobs: } case 'dev': { if (!/^(feat|fix|chore|docs|test)\/[a-z0-9-_]+$/.test(branch)) { - console.error(`::error::Branch name must start with 'hotfix/*' for PRs to ${base}`) + console.error(`::error::Branch name must start with '(feat|fix|chore|docs|test)/*' for PRs to ${base}`) process.exit(1) } }