Skip to content

Commit

Permalink
Remove CI autofixes
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Apr 30, 2024
1 parent 2693327 commit c9ea088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,4 @@ 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
2 changes: 1 addition & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit c9ea088

Please sign in to comment.