Skip to content

Commit

Permalink
ci: remove pre-commit github action (replaced by https://pre-commit.ci/)
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Sep 30, 2024
1 parent a954f5d commit 825cf0e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/maintests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,10 @@ on:
- '.github/workflows/maintests.yml'
- '.github/workflows/prtests.yml'
- '.github/workflows/release.yml'
- '.pre-commit-config.yaml'
- 'requirements.txt'
- 'requirements.dev.txt'
- 'requirements.docs.txt'
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run pre-commit
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files

no_extra_fields:
env:
AIWORKER_CACHE_HOME: ${{ github.workspace }}/.cache
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/prtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,10 @@ on:
- '.github/workflows/maintests.yml'
- '.github/workflows/prtests.yml'
- '.github/workflows/release.yml'
- '.pre-commit-config.yaml'
- 'requirements.txt'
- 'requirements.dev.txt'
- 'requirements.docs.txt'
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run pre-commit
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files

no_extra_fields:
env:
AIWORKER_CACHE_HOME: ${{ github.workspace }}/.cache
Expand Down

0 comments on commit 825cf0e

Please sign in to comment.