Skip to content

Warn when pages deploy runs without git checkout#419

Open
vliggio wants to merge 1 commit intocloudflare:mainfrom
vliggio:vliggio/warn-missing-checkout
Open

Warn when pages deploy runs without git checkout#419
vliggio wants to merge 1 commit intocloudflare:mainfrom
vliggio:vliggio/warn-missing-checkout

Conversation

@vliggio
Copy link
Copy Markdown

@vliggio vliggio commented Apr 2, 2026

Summary

  • Adds a warning when pages deploy or pages publish is run without a .git directory present in the working directory
  • This prevents silent production deployments when actions/checkout is missing or failed

Fixes #373

Test plan

  • Run pages deploy without actions/checkout and verify the warning appears
  • Run pages deploy with actions/checkout and verify no warning
  • Verify the deploy still proceeds (warning only, not a hard error)

@vliggio vliggio requested review from a team as code owners April 2, 2026 03:58
@vliggio vliggio requested a review from edmundhung April 2, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pages deploy should warn about missing checkout

1 participant