From f1adc788cfd47839b43e69c603ef1f607fcecd41 Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Fri, 30 Jun 2023 23:46:25 +0200 Subject: [PATCH] Only create link issue on error --- .github/workflows/links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 1a493bc..ec6d633 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -18,7 +18,7 @@ jobs: args: --verbose --no-progress --exclude example.com -- README.md - name: Create Issue From File - if: github.repository_owner == 'lycheeverse' + if: github.repository_owner == 'lycheeverse' && env.lychee_exit_code != 0 uses: peter-evans/create-issue-from-file@v4 with: title: Link Checker Report