Skip to content

Commit

Permalink
Fix pre-commit-id
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyaCoder committed Oct 10, 2024
1 parent 5776bad commit cfc8ba1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-python@v3

- uses: pre-commit/[email protected]
id: pre-commit
with:
extra_args: --all-files
continue-on-error: true

- name: Print pre-commit result
run: |
echo "Pre-commit result: ${{ steps.pre-commit.outputs.result }}"
- name: Push changes back to repo
if: ${{ steps.pre-commit.outputs.result == 'modified' }}
run: |
Expand Down

0 comments on commit cfc8ba1

Please sign in to comment.