You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
preview-netlify, preview-cloudflare: install the deploy CLI only on pull_request runs #193
This is the #92 Phase 1 item "gate both preview actions' CLI installs on pull_request". #92 handed it to #105, but #105 closed on 2026-09-24 (shipped in v0.12.0) without it, so nothing tracked it.
What's wrong. On main @ 64aeb2f:
Both Install … CLI steps (preview-netlify/action.yml:56-58, preview-cloudflare/action.yml:68-70) run on if: steps.check-trust.outputs.skip != 'true' alone.
The deploy steps they feed (preview-netlify/action.yml:92-95, and the matching step in preview-cloudflare) also require github.event_name == 'pull_request'.
So a workflow_dispatch run, which both current consumers allow, spends time on npm ci of the pinned CLI and then skips the deploy. #92 measured the install at roughly 25–45 s.
CHANGELOG [Unreleased] entry. It is behaviour-visible only as a faster no-op run.
Related: #143, item 2, the release-gate spike. It checks the same pull_request gates, from the question of whether a non-PR gate run is silently green.
Ships with #227, in the same PR (decision 2 on #143, 2026-11-04). The CLI install and the deploy share one event condition, which includes the new opt-in dispatch- deploys.
Posted by Claude Code (on behalf of mmcky), from the 2026-11-04 decision session.
Activity
mmcky commentedon Nov 4, 2026
Ships with #227, in the same PR (decision 2 on #143, 2026-11-04). The CLI install and the deploy share one event condition, which includes the new opt-in
dispatch-deploys.Posted by Claude Code (on behalf of mmcky), from the 2026-11-04 decision session.
feat(preview-*): deploy outside pull_request on request, and report w…
feat(preview-*): deploy outside pull_request on request, and report w…
feat(preview-*): deploy outside pull_request on request, and report w…
feat(preview-*): deploy outside pull_request on request, and report w…
feat(preview-*): deploy outside pull_request on request, and report w…