From 89a451dea4e9ae2ca167798a74391f2868b69c5c Mon Sep 17 00:00:00 2001 From: Seun Akanni Date: Thu, 13 Aug 2026 16:13:29 +0100 Subject: [PATCH 1/2] val: confirm the empty version-conditional scan path This repo has no #if REVIT directives, so the scan should write a header-only file and findings should record No rather than Unknown. Not for merge. --- .github/workflows/val-versioning.yml | 25 +++++++++++++++++++++++++ XML_Engine/Create/GBXMLUnitSetUp.cs | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/val-versioning.yml diff --git a/.github/workflows/val-versioning.yml b/.github/workflows/val-versioning.yml new file mode 100644 index 00000000..1ed4efab --- /dev/null +++ b/.github/workflows/val-versioning.yml @@ -0,0 +1,25 @@ +# Sandbox validation only. Confirms the empty version-conditional scan path: this repo has +# no #if REVIT directives, so the scan should write a header-only file and findings should +# record No rather than Unknown. +name: CI + +on: + pull_request: + branches: + - develop + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} + cancel-in-progress: true + +jobs: + ci-versioning: + runs-on: windows-2025-vs2026 + timeout-minutes: 45 + steps: + - name: Run versioning + uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-versioning@val/internal-refs-3 + with: + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + base_ref: ${{ github.base_ref }} diff --git a/XML_Engine/Create/GBXMLUnitSetUp.cs b/XML_Engine/Create/GBXMLUnitSetUp.cs index 09ce4d45..513860ab 100644 --- a/XML_Engine/Create/GBXMLUnitSetUp.cs +++ b/XML_Engine/Create/GBXMLUnitSetUp.cs @@ -57,3 +57,5 @@ public static GBXMLUnitSetUp GBXMLUnitSetUp(LengthUnit length, TemperatureUnit t + +// CI validation: empty version-conditional scan path. Revert. From eff51728b7a11c7b33e0821ecbc00af193f77327 Mon Sep 17 00:00:00 2001 From: Seun Akanni Date: Thu, 13 Aug 2026 16:25:59 +0100 Subject: [PATCH 2/2] val: re-run after merging the hotfix into the feature branch