Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasssvaz committed Feb 6, 2024
1 parent e7aab7e commit 292c4cd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Pre-commit checks
name: autofix.ci

on:
pull_request:
types: [opened, reopened, synchronize, labeled]

permissions:
contents: write
contents: read

jobs:
lint:
Expand All @@ -16,7 +16,6 @@ jobs:
- name: Checkout latest commit
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v5
Expand All @@ -31,6 +30,4 @@ jobs:
extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}
- name: Push pre-commit fixes
if: always()
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Apply automatic changes from pre-commit hooks"
uses: autofix-ci/action@v1.3

0 comments on commit 292c4cd

Please sign in to comment.