Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #115 from KrazyKirby99999/actions
Browse files Browse the repository at this point in the history
Fix YAPF workflow
  • Loading branch information
KrazyKirby99999 authored Dec 29, 2021
2 parents e95148d + a9ad18c commit c72598a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/yapf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,24 @@ on:

jobs:
formatting-check:
name: Formatting Check
name: Automated Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Yapf Formatter
run: |
python -m pip install toml yapf; yapf --verbose -ir .
- name: Commit Changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "YAPF Formatter"
git add *
git commit -m "YAPF Formatter"
- name: Push Changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.TOKEN }}
force: true

0 comments on commit c72598a

Please sign in to comment.