File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,13 @@ jobs:
5050 echo "Branch name: $BRANCH_NAME"
5151
5252 # Simplified pattern that properly handles hyphens, underscores, and dots
53- if [[ $BRANCH_NAME =~ ^(feat|feature|fix|bugfix|break|breaking|hotfix|chore)/[a-zA-Z0-9._-]+$ ]]; then
53+ if [[ " $BRANCH_NAME" =~ ^(feat|feature|fix|bugfix|break|breaking|hotfix|chore)/[a-zA-Z0-9._-]+$ ]]; then
5454 echo "✅ Branch pattern accepted: $BRANCH_NAME"
55- echo "should_publish=true" >> $GITHUB_OUTPUT
56- echo "branch_name=$BRANCH_NAME" >> $GITHUB_OUTPUT
55+ echo "should_publish=true" >> " $GITHUB_OUTPUT"
56+ echo "branch_name=$BRANCH_NAME" >> " $GITHUB_OUTPUT"
5757 else
5858 echo "❌ Branch '$BRANCH_NAME' doesn't match required patterns"
59- echo "should_publish=false" >> $GITHUB_OUTPUT
60- exit 0
59+ echo "should_publish=false" >> "$GITHUB_OUTPUT"
6160 fi
6261
6362 - name : Install dependencies
You can’t perform that action at this time.
0 commit comments