Repository navigation
ci: add placeholder image-build/image-push workflows for #8609 (#8706) [skip ci] - #8706
Merged
Merged
Conversation
…dev#8609 [skip ci] Adds trivial, do-nothing versions of the two new workflows from the ddev#8609 phase 2 work (fork-safe automatic image build/push) so their names and triggers are registered on `main` ahead of that larger PR, unblocking end-to-end testing of the `workflow_run` dependency between them. - Related to ddev#8609 (phase 2) `image-push.yml`'s `workflow_run` trigger only fires for a listener workflow that already exists on the repository's default branch - a brand-new file only present on a feature branch/PR never triggers, silently. That makes the full detect -> approval -> build -> push chain from the phase 2 PR hard to test end-to-end until something with these two workflow names is already on `main`. Adds `image-build-push.yml` ("Image build") and `image-push.yml` ("Image push") with the same names and trigger conditions the real phase 2 versions will use, but with a single do-nothing job each. No secrets, no environment, no build/push logic - this PR has no effect on CI beyond two near-instant extra jobs on `containers/**` PRs. The phase 2 branch will be rebased onto this once merged, replacing these stub bodies with the real detect/approval/build/push implementation under the same filenames and workflow names, so `workflow_run` keeps resolving correctly. Open a PR touching `containers/**` and confirm "Image build" runs and completes with its one placeholder step, then confirm "Image push" fires afterward (workflow_run) and also completes with its placeholder step. None - these are intentionally inert placeholder workflows. No functional change to any existing workflow. Safe to merge independently of the phase 2 PR.
rfay
added a commit
to rfay/ddev
that referenced
this pull request
Aug 14, 2026
…ed as a YAML comment [skip ci] The do-nothing placeholder workflows added in ddev#8706 are currently failing on every PR that touches `containers/**` (e.g. ddev#8705), because their unquoted `name:`/`run:` strings contain `ddev#8609`, and YAML treats a space followed by `#` as a comment start even mid-string - truncating both values and leaving `run:` with an unterminated quote. - Fixes CI breakage introduced by ddev#8706, related to ddev#8609 `name: Placeholder (see ddev#8609)` parses as `Placeholder (see`, and `run: echo "Placeholder for ddev#8609 ..."` parses as `echo "Placeholder for` - invalid bash (`unexpected EOF while looking for matching "`), failing the "Image build"/"Image push" placeholder job on every containers/-touching PR since ddev#8706 merged. Quotes the `name:` values and switches the `run:` values to block scalars (`run: |`), which aren't subject to inline comment stripping. Verified both files' `ddev#8609` strings now parse intact and the `run` command executes cleanly. Scanned all other workflow files for the same pattern; found nothing else affected. Open (or re-run) a PR touching `containers/**` and confirm the "Image build" placeholder job now passes. Verified via `python3 -c "import yaml; ..."` that both files' `name`/`run` values now parse to their full intended strings, and ran the resulting `run` command through bash directly to confirm it executes without error. No new tests needed for a two-file YAML quoting fix. Fixes an active CI failure on `main` affecting every PR that touches `containers/**`. No other workflow changes. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WqmDPsdWxQjwGu3LFNzGLg
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short Summary (TL;DR)
Do-nothing placeholder versions of two upcoming #8609 phase 2 workflows, so their names/triggers exist on
mainbefore that larger PR lands.The Issue
Related to #8609 (phase 2).
workflow_runonly fires for a listener workflow already on the default branch, so testing the realimage-push.ymlis blocked until something with that name exists onmain.How This PR Solves The Issue
Adds
image-build-push.yml("Image build") andimage-push.yml("Image push") with the real triggers but a single echo step each. No secrets, no build/push logic. The phase 2 branch will be rebased onto this, replacing the stub bodies under the same names.Manual Testing Instructions
Open a PR touching
containers/**; confirm both workflows run their placeholder step.Automated Testing Overview
None - inert placeholder.
Release/Deployment Notes
No functional change. Safe to merge independently of phase 2.