We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de202c commit df3aa91Copy full SHA for df3aa91
.github/workflows/pre-commit.yml
@@ -21,3 +21,13 @@ jobs:
21
22
- name: Run pre-commit
23
run: pre-commit run --all-files
24
+ - name: Commit and push changes
25
+ if: github.event_name == 'push'
26
+ run: |
27
+ git config --global user.name "github-actions[bot]"
28
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
29
+ git add .
30
+ git commit -m "Apply pre-commit fixes"
31
+ git push
32
+ env:
33
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments