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:
50
50
echo "Branch name: $BRANCH_NAME"
51
51
52
52
# 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
54
54
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"
57
57
else
58
58
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"
61
60
fi
62
61
63
62
- name : Install dependencies
You can’t perform that action at this time.
0 commit comments