We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e2229 commit 3c4c663Copy full SHA for 3c4c663
.github/workflows/close-pulls.yml
@@ -23,8 +23,8 @@ jobs:
23
)
24
echo "fixed_list=${COMMIT_MESSAGE}" >> $GITHUB_OUTPUT
25
26
- FIXES_LIST=$(echo "$COMMIT_MESSAGE" | grep -oP '(?<=Fixes )#\d+' | grep -oP '\d+')
27
- echo "second_list=$FIXES_LIST" >> $GITHUB_OUTPUT
+ FIXES_LIST=$(echo "$COMMIT_MESSAGE" | grep -oP '(?<=Fixes )#\d+(, #\d+)*' | grep -oP '\d+')
+ echo "fixed_list=$(echo $FIXES_LIST | tr '\n' ' ')" >> $GITHUB_OUTPUT
28
29
- name: Check if fixes list is empty
30
if: ${{ steps.parse-commit.outputs.fixed_list == '' }}
0 commit comments