From d5beb6e28e7c2649910f03ca282d891fe7549e69 Mon Sep 17 00:00:00 2001 From: GitHub Service Bot Date: Fri, 17 Jul 2026 18:42:17 +0000 Subject: [PATCH] chore: sync workflows from qcom-build-utils Signed-off-by: GitHub Service Bot --- .github/workflows/pkg-release.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pkg-release.yml b/.github/workflows/pkg-release.yml index f5922d9..a18fb38 100644 --- a/.github/workflows/pkg-release.yml +++ b/.github/workflows/pkg-release.yml @@ -2,23 +2,16 @@ name: Release description: | Release a new package version. This workflow is manually triggered via workflow_dispatch. + Set repository variable IS_TEST_PKG=1 to run in test mode. on: workflow_dispatch: inputs: - debian-branch: description: The debian branch to release. For example branch "qcom/debian/trixie" type: string required: true - test-run: - description: | - Debian: if true, stop after build/test. - Ubuntu: still runs the full release flow. - type: boolean - default: true - permissions: contents: write packages: read @@ -29,7 +22,7 @@ jobs: with: qcom-build-utils-ref: main debian-branch: ${{ github.event.inputs.debian-branch }} - test-run: ${{ github.event.inputs.test-run == 'true' && true || false }} + test-run: ${{ vars.IS_TEST_PKG == '1' || vars.IS_TEST_PKG == 'true' || vars['is-test-pkg'] == '1' || vars['is-test-pkg'] == 'true' }} debusine-parent-workspace: ${{ vars.DEBUSINE_PARENT_WORKSPACE }} secrets: PAT: ${{ secrets.DEB_PKG_BOT_CI_TOKEN }}