From 15ffe3ce4177c3ff0ff8b353804bdf17c5fb6817 Mon Sep 17 00:00:00 2001 From: Seun Akanni Date: Tue, 14 Jul 2026 15:37:21 +0100 Subject: [PATCH 1/2] ci: onboard new CI checks (alpha tier) --- .github/workflows/ci-alpha.yml | 70 ++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/workflows/ci-alpha.yml diff --git a/.github/workflows/ci-alpha.yml b/.github/workflows/ci-alpha.yml new file mode 100644 index 00000000..18fcf474 --- /dev/null +++ b/.github/workflows/ci-alpha.yml @@ -0,0 +1,70 @@ +# Alpha-tier proxy, BHoM variant. Bundles the tier's checks plus +# copyright-compliance (BHoM enforces OSS copyright; the BHE variant omits it). +# Copy to .github/workflows/ci-alpha.yml in each BHoM alpha repo. +# Runs on pull_request, non-blocking until a ruleset requires its checks. +# Workflow name CI keeps check contexts bare: required contexts are the job names. + +name: CI + +on: + pull_request: + branches: + - develop + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} + cancel-in-progress: true + +jobs: + build: + runs-on: windows-2025-vs2026 + timeout-minutes: 30 + steps: + - name: Run build + uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-build@develop + with: + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + copyright-compliance: + runs-on: windows-2025-vs2026 + timeout-minutes: 20 + permissions: + contents: read + pull-requests: read + actions: write + steps: + - name: Run copyright compliance + uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-compliance@develop + with: + check_type: copyright + patterns: '*.cs' + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + project-compliance: + runs-on: windows-2025-vs2026 + timeout-minutes: 20 + permissions: + contents: read + pull-requests: read + actions: write + steps: + - name: Run project compliance + uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-compliance@develop + with: + check_type: project + patterns: 'AssemblyInfo.cs *.csproj' + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + serialisation: + runs-on: windows-2025-vs2026 + timeout-minutes: 90 + steps: + - name: Run serialisation + uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-serialisation@develop + with: + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + base_ref: ${{ github.base_ref }} From cea39e91998b81bb1a51582627193d9ff0324caf Mon Sep 17 00:00:00 2001 From: Seun Akanni Date: Fri, 24 Jul 2026 13:43:15 +0100 Subject: [PATCH 2/2] ci: prefix job names with ci- to avoid BHoMBot status-check name collision --- .github/workflows/ci-alpha.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-alpha.yml b/.github/workflows/ci-alpha.yml index 18fcf474..ea86b3cc 100644 --- a/.github/workflows/ci-alpha.yml +++ b/.github/workflows/ci-alpha.yml @@ -16,7 +16,7 @@ concurrency: cancel-in-progress: true jobs: - build: + ci-build: runs-on: windows-2025-vs2026 timeout-minutes: 30 steps: @@ -26,7 +26,7 @@ jobs: app_id: ${{ secrets.BHOM_APP_ID }} private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - copyright-compliance: + ci-copyright-compliance: runs-on: windows-2025-vs2026 timeout-minutes: 20 permissions: @@ -42,7 +42,7 @@ jobs: app_id: ${{ secrets.BHOM_APP_ID }} private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - project-compliance: + ci-project-compliance: runs-on: windows-2025-vs2026 timeout-minutes: 20 permissions: @@ -58,7 +58,7 @@ jobs: app_id: ${{ secrets.BHOM_APP_ID }} private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - serialisation: + ci-serialisation: runs-on: windows-2025-vs2026 timeout-minutes: 90 steps: