From 585ddf0d5914a592abf71e3e4677c06fc0b8f27d Mon Sep 17 00:00:00 2001 From: monosans Date: Wed, 1 May 2024 02:14:59 +0500 Subject: [PATCH] Remove CI autofixes --- .github/workflows/ci.yml | 20 +------------------- .github/workflows/update-dependencies.yml | 2 +- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f16ec8a..bafb370 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,25 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - id: run-pre-commit - run: pipx run pre-commit run --all-files - - id: generate-token - if: ${{ !cancelled() && steps.run-pre-commit.conclusion == 'failure' }} - uses: tibdex/github-app-token@v2 - with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.PRIVATE_KEY }} - - if: ${{ !cancelled() && steps.generate-token.conclusion == 'success' }} - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ steps.generate-token.outputs.token }} - commit-message: Run pre-commit - committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> - author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> - branch: pre-commit/${{ github.ref_name }} - delete-branch: true - title: Run pre-commmit - body: + - run: pipx run pre-commit run --all-files build: strategy: matrix: diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 0afab4c..fec5157 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -19,6 +19,7 @@ jobs: - cmd: pipx run pre-commit autoupdate commit-msg: Update .pre-commit-config.yaml branch: update/pre-commit-config + fail-fast: false steps: - uses: actions/checkout@v4 - run: ${{ matrix.cmd }} @@ -31,7 +32,6 @@ jobs: with: token: ${{ steps.generate-token.outputs.token }} commit-message: ${{ matrix.commit-msg }} - committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> branch: ${{ matrix.branch }} delete-branch: true