From 981b3b2cb69105709df26f727ad555ebf69fa547 Mon Sep 17 00:00:00 2001 From: yuda Date: Fri, 29 Nov 2024 13:19:11 +0900 Subject: [PATCH] chore: go Signed-off-by: yuda --- .github/workflows/pull_request_review.yml | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pull_request_review.yml b/.github/workflows/pull_request_review.yml index 2746b44e8a..1890e5181c 100644 --- a/.github/workflows/pull_request_review.yml +++ b/.github/workflows/pull_request_review.yml @@ -34,24 +34,24 @@ jobs: with: submodules: true - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 20 - - name: Comment on Pull Request with TODO files if: always() uses: actions/github-script@v6 with: - github-token: ${{ secrets.PAT_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | - github.rest.pulls.createReview({ - pull_number: context.payload.pull_request.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: `test!!!`, - event: 'COMMENT', - }); + github.rest.pulls.createReview({ + pull_number: context.payload.pull_request.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: `test!!!`, + event: 'COMMENT', + }); + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 20 - name: Restore cached node_modules id: restore-node-cache