Update black-formatter.yml
This commit is contained in:
2
.github/workflows/black-formatter.yml
vendored
2
.github/workflows/black-formatter.yml
vendored
@@ -13,13 +13,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: psf/black@stable
|
- uses: psf/black@stable
|
||||||
id: action_black
|
|
||||||
with:
|
with:
|
||||||
options: "-l 80"
|
options: "-l 80"
|
||||||
src: "./pina"
|
src: "./pina"
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: steps.action_black.outputs.is_formatted == 'true'
|
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user