From cc093d59f1b1048a0e865dac33f60acb2d264c4c Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@tuta.io> Date: Wed, 17 Aug 2022 23:19:23 +0200 Subject: [PATCH] ci: add black format Signed-off-by: 0xMRTT <0xMRTT@tuta.io> --- .github/workflows/black.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/black.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 000000000..d98e98bee --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,17 @@ +name: Black Check + +# Run action on PRs to master +on: + pull_request: + branches: [ master ] + +jobs: + 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.ACCESS_TOKEN }}