From e8a391693331d15afdaec0d225df76b92989c04d Mon Sep 17 00:00:00 2001 From: Matti Airas Date: Sat, 22 Nov 2025 15:33:55 +0200 Subject: [PATCH] fix(ci): make apt-distro and apt-component required inputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove default values for apt-distro and apt-component inputs in both build-release.yml and publish-stable.yml, making them required. This prevents silent fallback to defaults which could cause packages to be deployed to incorrect distributions or components. All calling repositories have been updated to provide explicit values: - hatlabs/HALPI2-daemon#50 - hatlabs/cockpit-apt#108 - hatlabs/halos-metapackages#6 - hatlabs/HALPI2-rust-daemon#87 - hatlabs/halos-marine-containers#30 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/build-release.yml | 10 ++++------ .github/workflows/publish-stable.yml | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 3f30af9..a66c585 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -26,14 +26,12 @@ on: default: 'Debian package' type: string apt-distro: - description: 'APT distribution (e.g., trixie, bookworm)' - required: false - default: 'trixie' + description: 'APT distribution (e.g., trixie, bookworm, any)' + required: true type: string apt-component: - description: 'APT component (e.g., main)' - required: false - default: 'main' + description: 'APT component (e.g., main, hatlabs)' + required: true type: string apt-repository: description: 'APT repository to dispatch to' diff --git a/.github/workflows/publish-stable.yml b/.github/workflows/publish-stable.yml index 459f0a5..2c36841 100644 --- a/.github/workflows/publish-stable.yml +++ b/.github/workflows/publish-stable.yml @@ -10,14 +10,12 @@ on: workflow_call: inputs: apt-distro: - description: 'APT distribution (e.g., trixie, bookworm)' - required: false - default: 'trixie' + description: 'APT distribution (e.g., trixie, bookworm, any)' + required: true type: string apt-component: - description: 'APT component (e.g., main)' - required: false - default: 'main' + description: 'APT component (e.g., main, hatlabs)' + required: true type: string apt-repository: description: 'APT repository to dispatch to'