`on: pull_request:` was the only template-repo with this trigger out of the 8 (other 7 trigger only on push:main, repository_dispatch, workflow_dispatch). The reusable publish-template-image workflow has no PR-skip guard, so the PR trigger fired every time a PR was opened or updated and pushed both `:latest` (clobbering the production tag with unmerged code) and `:sha-<7>` (a stable tag for an unmerged commit) to GHCR. Verification at PR time already happens via the validate-workspace-template workflow's "Docker build smoke test" step, which builds the image but does NOT push. That's the right place for PR-time verification. Removing the trigger here aligns claude-code with the canonical 7 templates and stops the GHCR leak. While here, updated the runtime_version comment to drop the now- stale "/PR" reference. |
||
|---|---|---|
| .. | ||
| ci.yml | ||
| publish-image.yml | ||