From 8316c01a0745aafc807d25c8e8e3363fa73c18f2 Mon Sep 17 00:00:00 2001 From: "Ian H. Pittwood" Date: Fri, 29 May 2026 15:12:41 -0600 Subject: [PATCH 1/2] fix: emit string push value (on/off) for tri-state shared workflow The shared bakery-build-native.yml push input is changing from boolean to a tri-state string (off/temp/on). Emit 'on'/'off' so callers stay valid. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/development.yml | 2 +- .github/workflows/production.yml | 2 +- .github/workflows/session.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 7ac6dc7..1df75ac 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -72,7 +72,7 @@ jobs: image-version: ${{ inputs.version }} dev-stream: ${{ inputs.stream }} # Push on merges to main, scheduled rebuilds, and dispatches targeting main. - push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }} + push: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') && 'on' || 'off' }} clean: name: Clean diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 4cac7f0..6eec351 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -62,7 +62,7 @@ jobs: dev-versions: "exclude" matrix-versions: "exclude" # Push images only for merges into main and weekly schduled re-builds. - push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }} + push: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') && 'on' || 'off' }} clean: name: Clean diff --git a/.github/workflows/session.yml b/.github/workflows/session.yml index 5e7abcb..d237eb6 100644 --- a/.github/workflows/session.yml +++ b/.github/workflows/session.yml @@ -59,7 +59,7 @@ jobs: with: matrix-versions: only # Push images only for merges into main and weekly schduled re-builds. - push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' }} + push: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') && 'on' || 'off' }} clean: name: Clean From 2e3ace5071cc0cb7be19c5634d27f7e9f90399b8 Mon Sep 17 00:00:00 2001 From: "Ian H. Pittwood" Date: Fri, 29 May 2026 17:28:52 -0600 Subject: [PATCH 2/2] TEMP: retarget shared workflows to feat/dry-run-artifacts for CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Points the bakery-build reusable workflow refs at the images-shared feat/dry-run-artifacts branch so this PR's CI exercises the new tri-state push + temp-artifact behavior end-to-end. REVERT THIS COMMIT before merging — on main these must reference @main. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/development.yml | 2 +- .github/workflows/pr.yml | 6 +++--- .github/workflows/production.yml | 2 +- .github/workflows/session.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 1df75ac..7f1c13b 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -65,7 +65,7 @@ jobs: contents: read packages: write - uses: "posit-dev/images-shared/.github/workflows/bakery-build-native.yml@main" + uses: "posit-dev/images-shared/.github/workflows/bakery-build-native.yml@feat/dry-run-artifacts" with: dev-versions: "only" matrix-versions: "exclude" diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0782b69..09d7056 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -47,7 +47,7 @@ jobs: permissions: contents: read packages: write - uses: posit-dev/images-shared/.github/workflows/bakery-build-pr.yml@main + uses: posit-dev/images-shared/.github/workflows/bakery-build-pr.yml@feat/dry-run-artifacts with: dev-versions: "exclude" matrix-versions: "exclude" @@ -57,7 +57,7 @@ jobs: permissions: contents: read packages: write - uses: posit-dev/images-shared/.github/workflows/bakery-build-pr.yml@main + uses: posit-dev/images-shared/.github/workflows/bakery-build-pr.yml@feat/dry-run-artifacts with: dev-versions: "only" matrix-versions: "exclude" @@ -67,7 +67,7 @@ jobs: permissions: contents: read packages: write - uses: posit-dev/images-shared/.github/workflows/bakery-build-pr.yml@main + uses: posit-dev/images-shared/.github/workflows/bakery-build-pr.yml@feat/dry-run-artifacts with: matrix-versions: "only" diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 6eec351..e02d667 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -53,7 +53,7 @@ jobs: contents: read packages: write - uses: "posit-dev/images-shared/.github/workflows/bakery-build-native.yml@main" + uses: "posit-dev/images-shared/.github/workflows/bakery-build-native.yml@feat/dry-run-artifacts" secrets: DOCKER_HUB_ACCESS_TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} DOCKER_HUB_README_USERNAME: ${{ secrets.DOCKER_HUB_README_USERNAME }} diff --git a/.github/workflows/session.yml b/.github/workflows/session.yml index d237eb6..3fe0d49 100644 --- a/.github/workflows/session.yml +++ b/.github/workflows/session.yml @@ -51,7 +51,7 @@ jobs: contents: read packages: write - uses: "posit-dev/images-shared/.github/workflows/bakery-build-native.yml@main" + uses: "posit-dev/images-shared/.github/workflows/bakery-build-native.yml@feat/dry-run-artifacts" secrets: DOCKER_HUB_ACCESS_TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} DOCKER_HUB_README_USERNAME: ${{ secrets.DOCKER_HUB_README_USERNAME }}