Skip to content

Commit fae105c

Browse files
committed
Stop if no Fixes found.
1 parent a5a8702 commit fae105c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/close-pulls.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
)
2424
echo "fixed_list=${COMMIT_MESSAGE}" >> $GITHUB_OUTPUT
2525
26+
- name: Check if fixes list is empty
27+
if: ${{ steps.parse-commit.outputs.fixed_list == '' }}
28+
run: echo "No fixes found in commit message. Stopping workflow." && exit 0
29+
2630
- name: Print fixes list for debugging
2731
run: |
2832
echo "Fixes list: ${{ steps.parse-commit.outputs.fixed_list }}"

0 commit comments

Comments
 (0)