Remove CI autofixes
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user