From 6bc49a5e4f524435092c55c78d82d7cbce9e18ea Mon Sep 17 00:00:00 2001 From: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com> Date: Thu, 9 Feb 2023 15:27:23 +0100 Subject: [PATCH] chore: Update comment after confirming issue (#9641) --- .github/workflows/issue-analyzer.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/issue-analyzer.yml b/.github/workflows/issue-analyzer.yml index c778a37020c..7defe310332 100644 --- a/.github/workflows/issue-analyzer.yml +++ b/.github/workflows/issue-analyzer.yml @@ -121,6 +121,21 @@ jobs: repo: context.repo.repo, labels: ["confirmed"] }) + - name: Find Comment Id + uses: peter-evans/find-comment@v2 + id: find-comment-id + with: + issue-number: ${{ github.event.issue.number }} + comment-author: 'github-actions[bot]' + - name: Upsert comment + uses: peter-evans/create-or-update-comment@v2 + with: + comment-id: ${{ steps.find-comment-id.outputs.comment-id }} + issue-number: ${{ github.event.issue.number }} + edit-mode: replace + body: | + The issue has been labeled as **confirmed** by the automatic analyser. + Someone from the Puppeteer team will take a look soon! label-invalid-issue: needs: [analyze-issue]