Skip to content

Commit d09c00c

Browse files
lychee only comments on broken links
1 parent 319fe91 commit d09c00c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/lychee.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
fi
9898
9999
- name: 📝 Comment Broken Links
100-
if: ${{ always() && github.event.pull_request.head.repo.fork == false }}
100+
if: ${{ always() && github.event.pull_request.head.repo.fork == false && (steps.lychee.outputs.exit_code != 0 || steps.lychee-retry.outputs.exit_code != 0) }}
101101
uses: peter-evans/create-or-update-comment@v4
102102
with:
103103
issue-number: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)