ci(release): isolate preview releases from latest channels (#5462)

This commit is contained in:
Zhengchao An
2026-07-30 11:28:48 +08:00
committed by GitHub
parent 67904a6c18
commit b83c9c4663
7 changed files with 339 additions and 58 deletions
+3 -2
View File
@@ -33,11 +33,12 @@ jobs:
build-helm-package:
runs-on: ubuntu-latest
if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_dispatch' && !contains(github.event.inputs.version, '-preview')) ||
(
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
contains(github.event.workflow_run.head_branch, '.')
contains(github.event.workflow_run.head_branch, '.') &&
!contains(github.event.workflow_run.head_branch, '-preview')
)
outputs: