diff --git a/.github/workflows/build_env_run_tests.yml b/.github/workflows/build_env_run_tests.yml index f02ecdf4..9372a4ca 100644 --- a/.github/workflows/build_env_run_tests.yml +++ b/.github/workflows/build_env_run_tests.yml @@ -12,6 +12,7 @@ jobs: build_env_pip_pyproject: # checks only for building env using pip and pyproject.toml name: Build env using pip and pyproject.toml runs-on: ubuntu-latest + if: github.event.pull_request.draft == false strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] @@ -38,6 +39,7 @@ jobs: build_env_run_tests: # checks for building env using mamba and runs codebase checks and tests name: Build env and run tests on ${{ matrix.os }} runs-on: ${{ matrix.os }} + if: github.event.pull_request.draft == false strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] diff --git a/.github/workflows/gpt_pr_review.yml b/.github/workflows/gpt_pr_review.yml index 868290e7..70762241 100644 --- a/.github/workflows/gpt_pr_review.yml +++ b/.github/workflows/gpt_pr_review.yml @@ -19,6 +19,7 @@ concurrency: jobs: gpt_pr_review: runs-on: ubuntu-latest + if: github.event.pull_request.draft == false steps: - uses: coderabbitai/ai-pr-reviewer@latest env: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 55f59995..c2d9d2a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,7 +35,7 @@ repos: rev: v0.0.286 hooks: - id: ruff - args: [--fix, --exit-non-zero-on-fix, --config, ./pyproject.toml] + args: [--config, ./pyproject.toml] - repo: https://github.com/RobertCraigie/pyright-python rev: v1.1.324