Skip to content

Commit

Permalink
run pre-commit on every PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Oct 30, 2024
1 parent 9e6eb16 commit afe37ae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,46 +12,14 @@ concurrency:
jobs:
pr-builder:
needs:
- changed-files
- checks
- pre-commit
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
if: always()
with:
needs: ${{ toJSON(needs) }}
changed-files:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
files_yaml: |
test_notebooks:
- '**'
- '!.devcontainers/**'
- '!CONTRIBUTING.md'
- '!README.md'
- '!docs/**'
# TODO: Remove this before merging
- '!.github/**'
test_python:
- '**'
- '!.devcontainers/**'
- '!CONTRIBUTING.md'
- '!README.md'
- '!docs/**'
- '!img/**'
- '!notebooks/**'
# TODO: Remove this before merging
- '!.github/**'
checks:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
enable_check_generated_files: false
pre-commit:
needs: [checks, changed-files]
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
build_type: pull-request
run_script: "ci/check_pre-commit.sh"
11 changes: 0 additions & 11 deletions ci/check_pre-commit.sh

This file was deleted.

0 comments on commit afe37ae

Please sign in to comment.