|
|
@ -11,7 +11,7 @@ jobs:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with: # https://github.com/stefanzweifel/git-auto-commit-action#checkout-the-correct-branch
|
|
|
|
with: # https://github.com/stefanzweifel/git-auto-commit-action#checkout-the-correct-branch
|
|
|
|
ref: ${{ github.head_ref }}
|
|
|
|
ref: ${{ github.head_ref }}
|
|
|
|
- uses: actions/setup-python@v1
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
- run: pip install black
|
|
|
|
- run: pip install black
|
|
|
|
- run: black --check .
|
|
|
|
- run: black --check .
|
|
|
|
- name: If needed, commit black changes to a new pull request
|
|
|
|
- name: If needed, commit black changes to a new pull request
|
|
|
|