From 72f77a0cb3f53ac513294b1af05b396a4489eeca Mon Sep 17 00:00:00 2001 From: Aabishkar KC Date: Wed, 17 Jan 2024 13:44:41 -0500 Subject: [PATCH] Update smoke tests workflow --- .github/workflows/ui_smoke_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ui_smoke_tests.yml b/.github/workflows/ui_smoke_tests.yml index 18585185bd9..a4c619e9e86 100644 --- a/.github/workflows/ui_smoke_tests.yml +++ b/.github/workflows/ui_smoke_tests.yml @@ -103,14 +103,14 @@ jobs: body-includes: UI Smoke Tests direction: last - name: Create comment - if: env.PR_NUMBER != '' + if: env.PR_NUMBER != '' && steps.find_comment.outputs.comment-id == '' uses: peter-evans/create-or-update-comment@v3 with: issue-number: ${{ env.PR_NUMBER }} body: | ${{ steps.create_comment.outputs.pr_comment }} - name: Update comment - if: env.PR_NUMBER != '' + if: env.PR_NUMBER != '' && steps.find_comment.outputs.comment-id != '' uses: peter-evans/create-or-update-comment@v3 with: comment-id: ${{ steps.find_comment.outputs.comment-id }}