From 2a04cf20f330c3187301b173edc2ed2442bbf53b Mon Sep 17 00:00:00 2001 From: Han Yeong-woo Date: Sat, 16 Sep 2023 01:25:49 +0900 Subject: [PATCH] ci: update pr comment logic (#11) --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 58d2c6e..75b9735 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,6 +28,7 @@ jobs: if: ${{ github.event.workflow_run.event != 'push' }} uses: mshick/add-pr-comment@v2 with: + issue: ${{ github.event.workflow_run.pull_requests.number }} message-id: cloudflare-pages-preview-deployment message: | ## Start Deploying preview... @@ -76,6 +77,7 @@ jobs: if: ${{ github.event.workflow_run.event != 'push' }} uses: mshick/add-pr-comment@v2 with: + issue: ${{ github.event.workflow_run.pull_requests.number }} message-id: cloudflare-pages-preview-deployment message: | ## Preview Deployed Successfully!