From 58cfeea55d111a7f3d2f53d21c5339d277f90bfe Mon Sep 17 00:00:00 2001 From: Pepe Cano <825430+ppcano@users.noreply.github.com> Date: Fri, 23 Jun 2023 12:26:08 +0200 Subject: [PATCH] chore: fix PR deploy action to post a comment (#1235) due to GH action upgrade --- .github/workflows/pr-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-deploy.yml b/.github/workflows/pr-deploy.yml index 77747f3d8..260750af1 100644 --- a/.github/workflows/pr-deploy.yml +++ b/.github/workflows/pr-deploy.yml @@ -136,7 +136,7 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.issues.createComment({ + github.rest.issues.createComment({ issue_number: context.payload.number, owner: context.repo.owner, repo: context.repo.repo,