Skip to content

Commit

Permalink
chore: go
Browse files Browse the repository at this point in the history
Signed-off-by: yuda <[email protected]>
  • Loading branch information
yuda110 committed Nov 29, 2024
1 parent 404b746 commit 981b3b2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/pull_request_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 981b3b2

Please sign in to comment.