From c8388a459e484bfbbbd0c8b14cd71debcf75f848 Mon Sep 17 00:00:00 2001 From: Agustin Borgna Date: Mon, 18 Mar 2024 17:58:01 +0000 Subject: [PATCH] test: smaller paths-filter --- .github/workflows/ci-py.yml | 3 +-- .github/workflows/ci-rs.yml | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-py.yml b/.github/workflows/ci-py.yml index 5e51592088..5e1c390880 100644 --- a/.github/workflows/ci-py.yml +++ b/.github/workflows/ci-py.yml @@ -27,8 +27,7 @@ jobs: python: ${{ github.ref_name == github.event.repository.default_branch || steps.filter.outputs.python }} steps: # For pull requests it's not necessary to checkout the code - - if: github.ref_name != github.event.repository.default_branch - uses: dorny/paths-filter@v3 + - uses: dorny/paths-filter@v3 id: filter with: filters: | diff --git a/.github/workflows/ci-rs.yml b/.github/workflows/ci-rs.yml index 0cd87ccc3f..b5f2299bf7 100644 --- a/.github/workflows/ci-rs.yml +++ b/.github/workflows/ci-rs.yml @@ -33,16 +33,15 @@ jobs: rust: ${{ github.ref_name == github.event.repository.default_branch || steps.filter.outputs.rust }} steps: # For pull requests it's not necessary to checkout the code - - if: github.ref_name != github.event.repository.default_branch - uses: dorny/paths-filter@v3 + - uses: dorny/paths-filter@v3 id: filter with: filters: | rust: - 'quantinuum-hugr/**' - - 'specification/schema/**' - 'Cargo.toml' - - '!**/*.md' + - 'specification/schema/**' + # - '!**/*.md' check: needs: changes