From 0c4c2c118668592aa45b8f24d0ef0f4376fbebd9 Mon Sep 17 00:00:00 2001 From: claustra01 Date: Sat, 10 Aug 2024 03:00:23 +0900 Subject: [PATCH] fix: replace comment --- .github/workflows/pr-lighthouse.yml | 2 +- .github/workflows/pr-visualizer.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-lighthouse.yml b/.github/workflows/pr-lighthouse.yml index 857ea20..48b501a 100644 --- a/.github/workflows/pr-lighthouse.yml +++ b/.github/workflows/pr-lighthouse.yml @@ -83,6 +83,6 @@ jobs: if: success() && github.event.number && steps.fc.outputs.comment-id != '0' with: issue-number: ${{ github.event.number }} - includes-comment: "" + includes-comment: "# Lighthouse Report" body: ${{ steps.get-comment-body.outputs.body }} edit-mode: replace diff --git a/.github/workflows/pr-visualizer.yml b/.github/workflows/pr-visualizer.yml index 02c9a9f..d37f8a6 100644 --- a/.github/workflows/pr-visualizer.yml +++ b/.github/workflows/pr-visualizer.yml @@ -46,15 +46,15 @@ jobs: with: issue-number: ${{ github.event.number }} body: | - **Visualizer Report** - - You can view the results [here](${{ steps.deployment.outputs.page_url }}). + # Visualizer Report + You can view the results [here](${{ steps.deployment.outputs.page_url }}). - name: Update comment uses: peter-evans/create-or-update-comment@v2 if: success() && github.event.number && steps.fc.outputs.comment-id != '0' with: issue-number: ${{ github.event.number }} - includes-comment: "" + includes-comment: "# Visualizer Report" body: | **Visualizer Report** - You can view the results [here](${{ steps.deployment.outputs.page_url }}).