From d5f99cd4dfb93a15b36d62e5e0c34ffc1a550b32 Mon Sep 17 00:00:00 2001 From: Petar Shtuchkin Date: Fri, 24 Oct 2025 10:20:11 +0300 Subject: [PATCH] Assume unstable build when event_name is schedule --- .github/workflows/apt.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/apt.yml b/.github/workflows/apt.yml index 680311b..4f10cc5 100644 --- a/.github/workflows/apt.yml +++ b/.github/workflows/apt.yml @@ -24,7 +24,8 @@ on: run-name: >- ${{ (github.ref_name == 'unstable' || github.event_name == 'workflow_dispatch' - || github.event_name == 'workflow_call') + || github.event_name == 'workflow_call' + || github.event_name == 'schedule') && 'Build Unstable' || format('Build on {0} to {1}', github.event_name, github.ref_name) }} @@ -37,14 +38,15 @@ jobs: BUILD_ARCHS: ${{ vars.BUILD_ARCHS }} BUILD_EXCLUDE: ${{ vars.BUILD_EXCLUDE }} SMOKE_TEST_IMAGES: ${{ vars.SMOKE_TEST_IMAGES }} - # determine whether we should use special "unstable" release_tag - # Assume that for unstable branch and for any external call or dispatch - # we are building unstable release - # In other cases it's a regular PR/push build + # Determine whether we should use special "unstable" release_tag. Assume + # that for unstable branch and for any external call, dispatch or schedule + # we are building unstable release. In other cases it's a regular PR/push + # build without using specific release_tag. release_tag: >- ${{ (github.ref_name == 'unstable' || github.event_name == 'workflow_dispatch' - || github.event_name == 'workflow_call') + || github.event_name == 'workflow_call' + || github.event_name == 'schedule') && 'unstable' || '' }} \ No newline at end of file