1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-01 09:55:32 +02:00

monthly-check: only close if found

This commit is contained in:
Sebastiaan Speck 2024-09-22 02:53:31 +02:00 committed by GitHub
parent c8c0685911
commit a41f91be2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ jobs:
labels: check usernames
- name: Close last report open issue
if: ${{ env.lychee_exit_code == 0 }}
if: ${{ env.lychee_exit_code == 0 && steps.last-issue.outputs.has-found == 'true' }}
uses: peter-evans/close-issue@v2
with:
issue-number: ${{ steps.last-issue.outputs.issue-number }}