From 811fa1c256d13f7951aa98aeaf15f2d9d78cca1c Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 14 Apr 2025 14:25:23 +0800 Subject: [PATCH] CI: Fix incorrect if expression in the 'Check Links' workflow xref: https://github.com/lycheeverse/lychee-action/pull/265 --- .github/workflows/check-links.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 072e073ff74..95f72a9b9cd 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -1,7 +1,7 @@ # Check links in the repository and documentation # -# This workflow runs the lychee tool to check all external links in plaintext -# and HTML files. It will create an issue if broken links are found. +# This workflow runs the lychee tool to check all external links in plaintext and HTML +# files. It will create an issue if broken links are found. # # It is scheduled to run weekly at 12 noon every Sunday. # @@ -76,7 +76,7 @@ jobs: run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - name: Create Issue From File - if: ${{ steps.lychee.outputs.exit_code }} != 0 + if: steps.lychee.outputs.exit_code != 0 run: | cd repository/ title="Link Checker Report on ${CURRENT_DATE}"