Skip to content

Commit 9f3b2ec

Browse files
committed
Skip end tasks when empty.
Fixes #5, #6.
1 parent fae105c commit 9f3b2ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/close-pulls.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ jobs:
2828
run: echo "No fixes found in commit message. Stopping workflow." && exit 0
2929

3030
- name: Print fixes list for debugging
31+
if: ${{ steps.parse-commit.outputs.fixed_list != '' }}
3132
run: |
3233
echo "Fixes list: ${{ steps.parse-commit.outputs.fixed_list }}"
3334
3435
- name: Find pull requests
3536
id: pr-results
37+
if: ${{ steps.parse-commit.outputs.fixed_list != '' }}
3638
uses: actions/github-script@v7
3739
with:
3840
script: |

0 commit comments

Comments
 (0)