Skip to content

Commit

Permalink
ci: Allow pre-commit to autofix files
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 24, 2023
1 parent b65ee5e commit 98d9b85
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
Expand All @@ -16,8 +18,12 @@ jobs:
- id: changed-files
uses: tj-actions/changed-files@v36
- uses: pre-commit/action@v3.0.0
continue-on-error: true
with:
extra_args: pip-compile --files ${{ steps.changed-files.outputs.all_changed_files }}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: '[github-actions] pre-commit autoupdate'
- shell: bash
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
- shell: bash
Expand Down

0 comments on commit 98d9b85

Please sign in to comment.