Skip to content

Commit e8a3916

Browse files
mairasclaude
andcommitted
fix(ci): make apt-distro and apt-component required inputs
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-python-daemon#50 - halos-org/cockpit-apt#108 - halos-org/halos-metapackages#6 - hatlabs/HALPI2-rust-daemon#87 - halos-org/halos-marine-containers#30 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6e16b4c commit e8a3916

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@ on:
2626
default: 'Debian package'
2727
type: string
2828
apt-distro:
29-
description: 'APT distribution (e.g., trixie, bookworm)'
30-
required: false
31-
default: 'trixie'
29+
description: 'APT distribution (e.g., trixie, bookworm, any)'
30+
required: true
3231
type: string
3332
apt-component:
34-
description: 'APT component (e.g., main)'
35-
required: false
36-
default: 'main'
33+
description: 'APT component (e.g., main, hatlabs)'
34+
required: true
3735
type: string
3836
apt-repository:
3937
description: 'APT repository to dispatch to'

.github/workflows/publish-stable.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ on:
1010
workflow_call:
1111
inputs:
1212
apt-distro:
13-
description: 'APT distribution (e.g., trixie, bookworm)'
14-
required: false
15-
default: 'trixie'
13+
description: 'APT distribution (e.g., trixie, bookworm, any)'
14+
required: true
1615
type: string
1716
apt-component:
18-
description: 'APT component (e.g., main)'
19-
required: false
20-
default: 'main'
17+
description: 'APT component (e.g., main, hatlabs)'
18+
required: true
2119
type: string
2220
apt-repository:
2321
description: 'APT repository to dispatch to'

0 commit comments

Comments
 (0)