[ci] Revert changes to wpiformat task from #4501 (#4508)

This commit is contained in:
sciencewhiz
2022-10-23 15:49:59 -07:00
committed by GitHub
parent 09faf31b67
commit a05b212b04

View File

@@ -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