From 07c5e91fda06fdd4885d687e6287feba384e32d2 Mon Sep 17 00:00:00 2001 From: rahulpinto19 Date: Tue, 17 Feb 2026 10:30:14 +0000 Subject: [PATCH] improved deleting --- .github/workflows/link_checker_workflow.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/link_checker_workflow.yaml b/.github/workflows/link_checker_workflow.yaml index ba8ed0bb017..d658f030a61 100644 --- a/.github/workflows/link_checker_workflow.yaml +++ b/.github/workflows/link_checker_workflow.yaml @@ -18,6 +18,7 @@ on: permissions: contents: read pull-requests: write + issues: write jobs: @@ -92,6 +93,9 @@ jobs: - name: Delete comment on success if: steps.lychee-check.outcome == 'success' && steps.find-comment.outputs.comment-id != '' + run: | + echo "Deleting Comment ID: ${{ steps.find-comment.outputs.comment-id }}" + gh api ... run: | gh api \ --method DELETE \