Skip to content

Commit 3c4c663

Browse files
committed
Take 2.
Fixes #1, #94872.
1 parent 92e2229 commit 3c4c663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/close-pulls.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
)
2424
echo "fixed_list=${COMMIT_MESSAGE}" >> $GITHUB_OUTPUT
2525
26-
FIXES_LIST=$(echo "$COMMIT_MESSAGE" | grep -oP '(?<=Fixes )#\d+' | grep -oP '\d+')
27-
echo "second_list=$FIXES_LIST" >> $GITHUB_OUTPUT
26+
FIXES_LIST=$(echo "$COMMIT_MESSAGE" | grep -oP '(?<=Fixes )#\d+(, #\d+)*' | grep -oP '\d+')
27+
echo "fixed_list=$(echo $FIXES_LIST | tr '\n' ' ')" >> $GITHUB_OUTPUT
2828
2929
- name: Check if fixes list is empty
3030
if: ${{ steps.parse-commit.outputs.fixed_list == '' }}

0 commit comments

Comments
 (0)