From 9ca13c3799896a6c71305425a7a328dc5e3e34a7 Mon Sep 17 00:00:00 2001 From: Bikouo Aubin <79859644+abikouo@users.noreply.github.com> Date: Wed, 14 Jun 2023 18:37:56 +0200 Subject: [PATCH] Remove black auto formatting workflow (#632) Remove black auto formatting workflow SUMMARY We don't have a proper tool to help trigger CI when a commit is pushed on a pull request. Remove the black/format workflow until we found a token with valid perms ISSUE TYPE CI Reviewed-by: Alina Buzachis Reviewed-by: Mike Graves --- .github/workflows/black.yml | 45 ------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/black.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml deleted file mode 100644 index 0a8245db..00000000 --- a/.github/workflows/black.yml +++ /dev/null @@ -1,45 +0,0 @@ ---- -name: black - -concurrency: - group: '${{ github.workflow }} @ ${{ github.sha }}' - cancel-in-progress: true - -on: - push: - branches: - - main - - 'stable-*' - pull_request_target: - -jobs: - format: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: checkout fork repository - uses: actions/checkout@v3 - with: - repository: ${{ github.event.pull_request.head.repo.full_name }} - ref: ${{ github.head_ref }} - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - - name: Install required python librairies - run: pip install tox - shell: bash - - - name: Run tox validation - run: tox -e black -vv - shell: bash - - - name: commit and push changes - id: commit - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: 'automated changes - black formatting' - file_pattern: '*.py'