Skip to content

Commit 92e2229

Browse files
committed
Test new way of parsing.
Fixes #7, #8.
1 parent 9f3b2ec commit 92e2229

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/close-pulls.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ 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
28+
2629
- name: Check if fixes list is empty
2730
if: ${{ steps.parse-commit.outputs.fixed_list == '' }}
2831
run: echo "No fixes found in commit message. Stopping workflow." && exit 0

0 commit comments

Comments
 (0)