From 702bb830d21ba86441d6271b65b763eac4f8d3ea Mon Sep 17 00:00:00 2001 From: Kacper Donat Date: Sat, 10 Jan 2026 00:11:36 +0100 Subject: [PATCH 1/2] CI: Change github.ref into github.head_ref This actually allows us to check source branch --- .github/workflows/CI_master.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI_master.yml b/.github/workflows/CI_master.yml index 453b92af1c..2d8c6dbfb0 100644 --- a/.github/workflows/CI_master.yml +++ b/.github/workflows/CI_master.yml @@ -54,21 +54,21 @@ jobs: Ubuntu: needs: [Prepare] - if: "!startsWith(github.ref, 'refs/heads/backport-')" + if: "!startsWith(github.head_ref, 'refs/heads/backport-')" uses: ./.github/workflows/sub_buildUbuntu.yml with: artifactBasename: Ubuntu-${{ github.run_id }} Windows: needs: [Prepare] - if: "!startsWith(github.ref, 'refs/heads/backport-')" + if: "!startsWith(github.head_ref, 'refs/heads/backport-')" uses: ./.github/workflows/sub_buildWindows.yml with: artifactBasename: Windows-${{ github.run_id }} Lint: needs: [Prepare] - if: "!startsWith(github.ref, 'refs/heads/backport-')" + if: "!startsWith(github.head_ref, 'refs/heads/backport-')" uses: ./.github/workflows/sub_lint.yml with: artifactBasename: Lint-${{ github.run_id }} From 6c0b79b8e0d818b1d252f989585eeb9ad2d04890 Mon Sep 17 00:00:00 2001 From: Kacper Donat Date: Sat, 10 Jan 2026 00:12:26 +0100 Subject: [PATCH 2/2] CI: Disable ubuntu run temporarily --- .github/workflows/CI_master.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI_master.yml b/.github/workflows/CI_master.yml index 2d8c6dbfb0..dccd743ae2 100644 --- a/.github/workflows/CI_master.yml +++ b/.github/workflows/CI_master.yml @@ -52,12 +52,12 @@ jobs: with: artifactBasename: Pixi-${{ github.run_id }} - Ubuntu: - needs: [Prepare] - if: "!startsWith(github.head_ref, 'refs/heads/backport-')" - uses: ./.github/workflows/sub_buildUbuntu.yml - with: - artifactBasename: Ubuntu-${{ github.run_id }} +# Ubuntu: +# needs: [Prepare] +# if: "!startsWith(github.head_ref, 'refs/heads/backport-')" +# uses: ./.github/workflows/sub_buildUbuntu.yml +# with: +# artifactBasename: Ubuntu-${{ github.run_id }} Windows: needs: [Prepare] @@ -83,7 +83,6 @@ jobs: needs: [ Prepare, Pixi, - Ubuntu, Windows, Lint ]