From 292c1dbc227191c93db7172192d9ac01de8f2218 Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Thu, 30 Nov 2023 15:47:23 +0100 Subject: [PATCH] Only create issue if lychee status code != 0 --- .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 28e6a3f..80e5086 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -18,7 +18,7 @@ jobs: fail: True - 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