From dbdad1e8ac063df190f418403216b09fa7383eef Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Fri, 7 Jul 2023 02:21:12 +0200 Subject: [PATCH] Only create issue on lychee error --- .github/workflows/check_links.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index c723037..860759c 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -27,8 +27,10 @@ jobs: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Create Issue From File + if: env.lychee_exit_code != 0 uses: peter-evans/create-issue-from-file@v4 with: title: Link Checker Report content-filepath: ./lychee/out.md labels: report, automated issue +