From 8eba18c8e2cbcd4cfc3e4fcf45785dbe8cc24977 Mon Sep 17 00:00:00 2001 From: Andre Date: Sat, 31 Aug 2024 07:44:35 -0300 Subject: [PATCH] Remove black from the barman repository This commit removes the black workflow from barman repo. A super linter workflow will be added that is going to be in charge of linter scans, being black one of them. References: BAR-362 Signed-off-by: Andre --- .github/workflows/black.yml | 38 ------------------------------------- 1 file changed, 38 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 74f456785..000000000 --- a/.github/workflows/black.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Black - -on: - push: - branches-ignore: - - master - pull_request: - branches-ignore: - - master - workflow_dispatch: - -jobs: - lint: - name: "Black" - runs-on: ubuntu-latest - steps: - - name: Step 1 - Checkout repository - uses: actions/checkout@v2 - - name: Step 2 - Apply Black - uses: psf/black@stable - with: - options: "" - - name: Step 3 - Check if changes - id: git-status - shell: bash - run: | - if [[ -n $(git status --porcelain) ]] - then - echo "::set-output name=status::true" - fi - - name: Step 4 - Commit changes - if: contains(steps.git-status.outputs.status, 'true') - uses: EndBug/add-and-commit@v8 - with: - default_author: github_actions - message: "black: reformat source code" - push: true