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