Skip to content

Commit

Permalink
auto-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyaCoder committed Oct 10, 2024
1 parent 9c997f9 commit 8280a39
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
with:
extra_args: --all-files
- name: Push changes back to repo
if: ${{ steps.pre-commit.outcome == 'failure' }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "style: auto format code with pre-commit"
git push

0 comments on commit 8280a39

Please sign in to comment.