We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee785ae commit b2e75c3Copy full SHA for b2e75c3
1 file changed
.github/workflows/npm-publish.yml
@@ -118,12 +118,14 @@ jobs:
118
# First check the PR title (highest priority)
119
check_for_prefixes "$PR_TITLE"
120
121
- # Then check each commit message
122
- echo "$COMMIT_MESSAGES" | while read -r message; do
+ # Then check each commit message (using a for loop to avoid subshell issues)
+ IFS=$'\n'
123
+ for message in $COMMIT_MESSAGES; do
124
if [[ -n "$message" ]]; then
125
check_for_prefixes "$message"
126
fi
127
done
128
+ unset IFS
129
130
# Output the final decision
131
echo "Final decision: $BUMP_TYPE version bump"
0 commit comments