From a05b212b049f7d5c1c12712a15f7a183d406d9e8 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Sun, 23 Oct 2022 15:49:59 -0700 Subject: [PATCH] [ci] Revert changes to wpiformat task from #4501 (#4508) --- .github/workflows/comment-command.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/comment-command.yml b/.github/workflows/comment-command.yml index 3c3cc812c3..1b5e689055 100644 --- a/.github/workflows/comment-command.yml +++ b/.github/workflows/comment-command.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - name: React Rocket - uses: actions/github-script@v6 + uses: actions/github-script@v4 with: script: | const {owner, repo} = context.issue - github.rest.reactions.createForIssueComment({ + github.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@v4 + uses: actions/setup-python@v2 with: python-version: 3.8 - name: Install clang-format @@ -54,6 +54,4 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" # Commit git commit -am "wpiformat" - git push origin HEAD:refs/pull/$NUMBER/head - env: - NUMBER: ${{ github.event.issue.number }} + git push