From e5e2eb36bdd29da9f9abc6797121fb67f6516b32 Mon Sep 17 00:00:00 2001 From: rahulpinto19 Date: Mon, 16 Feb 2026 06:23:07 +0000 Subject: [PATCH] corrct the logic --- .github/workflows/link_checker_workflow.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/link_checker_workflow.yaml b/.github/workflows/link_checker_workflow.yaml index f5a1e98e68..12a45caf14 100644 --- a/.github/workflows/link_checker_workflow.yaml +++ b/.github/workflows/link_checker_workflow.yaml @@ -77,7 +77,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create PR Comment - if: env.HAS_CHANGES == 'true' && steps.lychee-check.outputs.status != '0' + if: env.HAS_CHANGES == 'true' && steps.lychee-check.outcome == 'failure' uses: peter-evans/create-or-update-comment@v4 with: issue-number: ${{ github.event.pull_request.number }}