From e5c96e2fa0d90b9193e305123ad43618f3470a89 Mon Sep 17 00:00:00 2001 From: Seun Akanni Date: Thu, 6 Aug 2026 11:55:04 +0100 Subject: [PATCH] test(validate): AssemblyInfo.cs alone must not trigger versioning Harness pinned to CI_Toolkit fix/ci-versioning-gate-and-scan-root. The only matched change on this branch is an added AssemblyInfo.cs, so the ':(exclude)*AssemblyInfo.cs' pathspec should leave count=0 and every step should self-skip. The workflow file itself is not in the gate patterns. --- .github/workflows/versioning.yml | 2 +- File_Engine/Properties/AssemblyInfo.cs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 File_Engine/Properties/AssemblyInfo.cs diff --git a/.github/workflows/versioning.yml b/.github/workflows/versioning.yml index bf138c43..8335624c 100644 --- a/.github/workflows/versioning.yml +++ b/.github/workflows/versioning.yml @@ -19,7 +19,7 @@ jobs: timeout-minutes: 90 steps: - name: Run ci-versioning - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-versioning@develop + uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-versioning@fix/ci-versioning-gate-and-scan-root with: app_id: ${{ secrets.BHOM_APP_ID }} private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} diff --git a/File_Engine/Properties/AssemblyInfo.cs b/File_Engine/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..f9381bb4 --- /dev/null +++ b/File_Engine/Properties/AssemblyInfo.cs @@ -0,0 +1,8 @@ +// Sandbox validation file for CI_Toolkit fix/ci-versioning-gate-and-scan-root. +// +// Named AssemblyInfo.cs at the real-world depth (a project's Properties folder) +// so the versioning changed-file gate can be exercised in a live runner: the +// ':(exclude)*AssemblyInfo.cs' pathspec must drop it, leaving count=0 so every +// step self-skips. Deliberately carries no assembly attributes, because this +// project generates them from the SDK and a duplicate would break the build if +// anything ever did compile this branch.