From 17fe418aee1b3922fe0b7f7e10e3f6ab959f49fc Mon Sep 17 00:00:00 2001 From: rahulpinto19 Date: Tue, 17 Feb 2026 06:45:05 +0000 Subject: [PATCH] improved the delete 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 54c598be3dc..7b53670d771 100644 --- a/.github/workflows/link_checker_workflow.yaml +++ b/.github/workflows/link_checker_workflow.yaml @@ -103,7 +103,7 @@ jobs: sed -E '/(Redirect|Redirects per input)/d' lychee-report.md >> full-report.md - name: Delete comment on success - if: env.HAS_CHANGES == 'true' && steps.lychee-check.outcome == 'success' && steps.find-comment.outputs.comment-id != '' + if: steps.lychee-check.outcome == 'success' && steps.find-comment.outputs.comment-id != '' run: | gh api \ --method DELETE \