Skip to content

Commit

Permalink
issue #168: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Nov 26, 2024
1 parent 58259ec commit 583024e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow-issue-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
ISSUE_NUMBER="$GITHUB_ISSUE_NUMBER"
elif [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
BRANCH_NAME="$GITHUB_HEAD_REF"
if [[ "$BRANCH_NAME" =~ ^[0-9]{2,} ]]; then
if [[ "$BRANCH_NAME" =~ ^[0-9]{1,} ]]; then
ISSUE_NUMBER=$(echo "$BRANCH_NAME" | grep -oE '^[0-9]+')
else
echo "1. No issue found. The branch must be created from the issue page so that its name is in the correct format (e.g., 123-my-new-feature)."
Expand Down

0 comments on commit 583024e

Please sign in to comment.