From c8a0885fe663631e11aa80a4bfae1d45761f11f4 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Tue, 28 Jul 2026 14:34:21 +0800 Subject: [PATCH] ci: fix CI_BRANCH ternary so PR builds skip upload gate (#1062) * ci: fix CI_BRANCH ternary so PR builds skip upload gate Signed-off-by: Andy Lee * ci: simplify CI_BRANCH expression comment Signed-off-by: Andy Lee --------- Signed-off-by: Andy Lee (cherry picked from commit 719c33fa12e368663a24583af5d2ff456bb11a9d) # Conflicts: # .github/workflows/build-standalone-on-merge.yaml --- .github/workflows/build-standalone-on-merge.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-standalone-on-merge.yaml b/.github/workflows/build-standalone-on-merge.yaml index 37de28e8..75420ce8 100644 --- a/.github/workflows/build-standalone-on-merge.yaml +++ b/.github/workflows/build-standalone-on-merge.yaml @@ -28,4 +28,8 @@ jobs: packages: write id-token: write with: +<<<<<<< HEAD CI_BRANCH: ${{github.ref_name}} +======= + CI_BRANCH: ${{ github.event_name == 'push' && github.ref_name || '' }} +>>>>>>> 719c33f (ci: fix CI_BRANCH ternary so PR builds skip upload gate (#1062))