Skip to content

Commit cb6fbd3

Browse files
committed
Add dispatch inputs to development workflow
Expose workflow_dispatch inputs (version, stream) on development.yml and plumb them through to the shared bakery-build-native.yml reusable (as image-version and dev-stream) so upstream product-repo dispatches can narrow the build to a single version/stream.
1 parent e3e570e commit cb6fbd3

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/development.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Development
22
on:
33
workflow_dispatch:
4+
inputs:
5+
version:
6+
description: "Product version to build (e.g. 2026.01.2+418.pro1)"
7+
required: false
8+
type: string
9+
stream:
10+
description: "Dev stream to build (e.g. 'daily')"
11+
required: false
12+
type: string
413

514
schedule:
615
# Hourly rebuild of dev images
@@ -59,7 +68,9 @@ jobs:
5968
with:
6069
dev-versions: "only"
6170
matrix-versions: "exclude"
62-
# Push images only for merges into main and hourly schduled re-builds.
71+
image-version: ${{ inputs.version }}
72+
dev-stream: ${{ inputs.stream }}
73+
# Push on merges to main, scheduled rebuilds, and dispatches targeting main.
6374
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }}
6475

6576
clean:

0 commit comments

Comments
 (0)