Skip to content

Commit 9b7e110

Browse files
authored
Update branch-name-check.yml (#27)
1 parent ffd7c5c commit 9b7e110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/branch-name-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
check_branch_name:
12-
runs-on: Linux # Use the default GitHub-hosted runner with Linux
12+
runs-on: amd_linux # Use the default GitHub-hosted runner with Linux
1313

1414
steps:
1515
- name: Check out code
@@ -26,7 +26,7 @@ jobs:
2626
2727
echo "Checking branch name: $BRANCH_NAME"
2828
if [[ ! "$BRANCH_NAME" =~ ^u/.*/PR/.*$ ]] && [[ ! "$BRANCH_NAME" =~ ^u/.*/WIP/.*$ ]]; then
29-
echo "Error: Branch name '$BRANCH_NAME' does not match the required naming convention 'u/$BASE_USER/PR-*' or 'u/$BASE_USER/WIP-*'."
29+
echo "Error: Branch name '$BRANCH_NAME' does not match the required naming convention 'u/$BASE_USER/PR/*' or 'u/$BASE_USER/WIP/*'."
3030
exit 1
3131
fi
3232
echo "Branch name '$BRANCH_NAME' is valid."

0 commit comments

Comments
 (0)