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 <andy.lee@suse.com>

* ci: simplify CI_BRANCH expression comment

Signed-off-by: Andy Lee <andy.lee@suse.com>

---------

Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit 719c33fa12e368663a24583af5d2ff456bb11a9d)

# Conflicts:
#	.github/workflows/build-standalone-on-merge.yaml
This commit is contained in:
Andy Lee 2026-07-28 14:34:21 +08:00 committed by Mergify
parent a0f21d5902
commit c8a0885fe6

View File

@ -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))