From 70bb008ff837375450ccb2c009b65b9c6af822a1 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 3 Sep 2026 15:51:26 +0500 Subject: [PATCH] ci: dedup paths filters --- .github/workflows/build-bonsaiviewer-autodesk.yml | 6 ++---- .github/workflows/ci-ifcwrap-standalone.yml | 13 ++----------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-bonsaiviewer-autodesk.yml b/.github/workflows/build-bonsaiviewer-autodesk.yml index da773e1048..5ccbc28e88 100644 --- a/.github/workflows/build-bonsaiviewer-autodesk.yml +++ b/.github/workflows/build-bonsaiviewer-autodesk.yml @@ -8,13 +8,11 @@ name: Test Bonsai Viewer Autodesk Connector on: workflow_dispatch: push: - paths: + paths: &ci_paths - 'src/bonsaiviewer-autodesk/**' - '.github/workflows/build-bonsaiviewer-autodesk.yml' pull_request: - paths: - - 'src/bonsaiviewer-autodesk/**' - - '.github/workflows/build-bonsaiviewer-autodesk.yml' + paths: *ci_paths jobs: test: diff --git a/.github/workflows/ci-ifcwrap-standalone.yml b/.github/workflows/ci-ifcwrap-standalone.yml index ee3fa372db..30ad34182d 100644 --- a/.github/workflows/ci-ifcwrap-standalone.yml +++ b/.github/workflows/ci-ifcwrap-standalone.yml @@ -4,7 +4,7 @@ name: ci-ifcwrap-standalone on: workflow_dispatch: pull_request: - paths: + paths: &ci_paths - ".github/workflows/ci-ifcwrap-standalone.yml" - "cmake/**" - "src/ifcwrap/**" @@ -15,16 +15,7 @@ on: - "src/ifcopenshell-python/**" - "src/svgfill/**" push: - paths: - - ".github/workflows/ci-ifcwrap-standalone.yml" - - "cmake/**" - - "src/ifcwrap/**" - - "src/ifcparse/**" - - "src/ifcgeom/**" - - "src/serializers/**" - - "src/ifcconvert/**" - - "src/ifcopenshell-python/**" - - "src/svgfill/**" + paths: *ci_paths env: IFCOPENSHELL_PREFIX: ${{ github.workspace }}/ifcopenshell-install