We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f3b2ec commit 92e2229Copy full SHA for 92e2229
.github/workflows/close-pulls.yml
@@ -23,6 +23,9 @@ 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
28
+
29
- name: Check if fixes list is empty
30
if: ${{ steps.parse-commit.outputs.fixed_list == '' }}
31
run: echo "No fixes found in commit message. Stopping workflow." && exit 0
0 commit comments