From 3771a1a3bde98b5000ac21c3725b63b178b0d0f1 Mon Sep 17 00:00:00 2001 From: Joab <89288499+Joabutt@users.noreply.github.com> Date: Wed, 27 Dec 2023 21:54:43 +0800 Subject: [PATCH] Update check_pr.yml --- .github/workflows/check_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index 0bd2789..d124285 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -26,7 +26,7 @@ jobs: if: ${{ steps.json-yaml-validate.outcome == 'failure' }} uses: actions/github-script@v5 with: - token: ${{ secrets.MY_GITHUB_TOKEN }} # use the created secret token + github-token: ${{ secrets.MY_GITHUB_TOKEN }} # use the created secret token script: | github.rest.issues.createComment({ issue_number: context.issue.number,