diff options
author | Mango0x45 <thomasvoss@live.com> | 2020-09-12 12:54:49 +0000 |
---|---|---|
committer | Mango0x45 <thomasvoss@live.com> | 2020-09-12 12:54:49 +0000 |
commit | dd278ee920405e13bea97f9142a0fcd0e48e73e5 (patch) | |
tree | 018294176108dcbd2ab04aa1cd186eb9fdbe95f6 | |
parent | ce33e79978d0e6d6c803b7ea0b1219291a68fd91 (diff) | |
download | steve-bot-dd278ee920405e13bea97f9142a0fcd0e48e73e5.tar steve-bot-dd278ee920405e13bea97f9142a0fcd0e48e73e5.tar.gz steve-bot-dd278ee920405e13bea97f9142a0fcd0e48e73e5.tar.bz2 steve-bot-dd278ee920405e13bea97f9142a0fcd0e48e73e5.tar.lz steve-bot-dd278ee920405e13bea97f9142a0fcd0e48e73e5.tar.xz steve-bot-dd278ee920405e13bea97f9142a0fcd0e48e73e5.tar.zst steve-bot-dd278ee920405e13bea97f9142a0fcd0e48e73e5.zip |
I hope this works
-rw-r--r-- | .github/workflows/black.yml | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index ba09b86..bb6dd88 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,14 +1,18 @@ -name: Black Autoformatting +name: Black Check +# Run action on PRs to master on: - push: - pull_request: + pull_request: + branches: [ master ] jobs: - format: - name: Black Autoformatting - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Black Check - uses: jpetrucciani/black-check@master + suggest: + runs-on: ubuntu-latest + + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so that black can inspect it + - uses: actions/checkout@v2 + - uses: rgasper/python-black-pull-request-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + LINE_LENGTH: 88 |