Skip to content

Commit

Permalink
ci: pre-commit.ci doesn't allow requests outside installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 5, 2023
1 parent 977f033 commit f0f889d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
python-version: "3.10"
cache: pip
cache-dependency-path: "**/requirements*.txt"
- id: changed-files
uses: tj-actions/changed-files@v36
- uses: pre-commit/action@v3.0.0
with:
extra_args: pip-compile --files ${{ steps.changed-files.outputs.all_changed_files }}
- shell: bash
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
- shell: bash
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ci:
autoupdate_schedule: quarterly
skip: [pip-compile]
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
Expand All @@ -15,7 +16,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/jazzband/pip-tools
rev: 6.12.3
rev: 6.13.0
hooks:
- id: pip-compile
name: pip-compile backend/requirements.in
Expand Down

0 comments on commit f0f889d

Please sign in to comment.