Skip to content

Commit b083603

Browse files
committed
Use built-in failure method for step conditional
1 parent b742bb2 commit b083603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242

4343
- name: Create issues for broken links
44-
if: steps.lychee.outputs.exit_code != 0
44+
if: failure()
4545
uses: peter-evans/create-issue-from-file@v5
4646
with:
4747
title: Broken links found by automated link checker

0 commit comments

Comments
 (0)