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 98656a9 commit 84eec43Copy full SHA for 84eec43
.github/workflows/code_formatter.yml
@@ -13,4 +13,9 @@ jobs:
13
- name: Commit black changes
14
if: failure()
15
run: |
16
- echo "Need to be formatted."
+ black .
17
+ git config --global user.name github-actions
18
+ git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
19
+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
20
+ git commit -am "Formatted with psf/black"
21
+ git push --force origin HEAD:$GITHUB_REF
0 commit comments