From c15ec73a6b3ac6d6cf745f97e808a65e9a438cbd Mon Sep 17 00:00:00 2001 From: Henry Lee Date: Thu, 23 Nov 2023 04:41:39 +0000 Subject: [PATCH] chore(cicd): fix github-script api --- .github/workflows/check-formatting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index d337905..7a18f8d 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -31,7 +31,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | - github.issues.createComment({ + github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo,