File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed
Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change 1313 name : runner / black
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v2
17- - name : Check files using the black formatter
18- uses : rickstaa/action-black@v1.1.7
19- id : action_black
16+ - uses : SuffolkLITLab/black-formatting@main
2017 with :
21- black_args : " . --extend-exclude (__init__.py|setup.py)"
22- - name : Create Pull Request
23- if : steps.action_black.outputs.is_formatted == 'true'
24- uses : peter-evans/create-pull-request@v3
25- with :
26- token : ${{ secrets.GITHUB_TOKEN }}
27- title : " Format Python code with psf/black push"
28- commit-message : " :art: Format Python code with psf/black"
29- body : |
30- There appear to be some python formatting errors in ${{ github.sha }}. This pull request
31- uses the [psf/black](https://github.com/psf/black) formatter to fix these issues.
32- base : ${{ github.head_ref }} # Creates pull request onto pull request or commit branch
33- branch : actions/black
18+ MAKE_PR : true
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments