From ad80eb3a0bbb7330b129b813c1bec817f6f30acc Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Wed, 25 Oct 2023 17:33:22 -0400 Subject: [PATCH] [ci] Update actions for comment-command (#5824) --- .github/workflows/comment-command.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/comment-command.yml b/.github/workflows/comment-command.yml index 1866b9b014..77ebae9750 100644 --- a/.github/workflows/comment-command.yml +++ b/.github/workflows/comment-command.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-22.04 steps: - name: React Rocket - uses: actions/github-script@v4 + uses: actions/github-script@v6 with: script: | const {owner, repo} = context.issue - github.reactions.createForIssueComment({ + github.rest.reactions.createForIssueComment({ owner, repo, comment_id: context.payload.comment.id, @@ -34,7 +34,7 @@ jobs: GITHUB_TOKEN: "${{ secrets.COMMENT_COMMAND_PAT_TOKEN }}" NUMBER: ${{ github.event.issue.number }} - name: Set up Python 3.8 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.8 - name: Setup Java