From 17b86037c9d58446059d7a931c3e4cfe4f5194d7 Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Fri, 30 Jun 2023 23:42:15 +0200 Subject: [PATCH] Only create issue on exit code != 0 --- .github/workflows/links.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index d6d2358..1d225c0 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -22,6 +22,7 @@ jobs: args: --verbose --no-progress README.md - name: Create Issue From File + if: env.lychee_exit_code != 0 uses: peter-evans/create-issue-from-file@v4 with: title: Link Checker Report