From 6c2cbe97a40f3484ba83b5cee038e6fc94ac7b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Mon, 15 Jan 2024 06:46:29 +0100 Subject: [PATCH] Create lychee GH issues only when action is failing --- .github/workflows/lychee-weekly.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lychee-weekly.yml b/.github/workflows/lychee-weekly.yml index 8b46f27..26553c5 100644 --- a/.github/workflows/lychee-weekly.yml +++ b/.github/workflows/lychee-weekly.yml @@ -11,6 +11,7 @@ jobs: with: args: -v -n "*.md" "**/*.md" - name: Create Issue From File + if: env.lychee_exit_code != 0 uses: peter-evans/create-issue-from-file@v4.0.1 with: title: Link Checker Report