Skip to content

Enable GitHub auto-deploy on main - #22

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/enable-github-auto-deploy-e60a
Sep 14, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/enable-github-auto-deploy-e60a

Conversation

@MylesMCook

Copy link
Copy Markdown
Owner

What changed?

GitHub auto-deploy was skipping every main push because the job required CLOUDFLARE_DEPLOY_ENABLED=true. That opt-in is now off: main in this repository deploys unless the variable is set to false.

The workflow also deploys tempus-total after tempus, and fails with a clear error if the Cloudflare secrets are missing. Forks still do not deploy.

How did you check it?

  • Parsed .github/workflows/deploy-cloudflare.yml and confirmed the job if is default-on, fork-safe, and includes both Wrangler deploys.
  • Could not write GitHub Actions secrets or variables from this integration (403). Existing CLOUDFLARE_API_TOKEN / CLOUDFLARE_ACCOUNT_ID secrets are required for the job to succeed after merge.

Anything that could break?

If the GitHub Cloudflare token is still the invalid one from 12 Sep, this job will run and fail instead of skipping. Pause with CLOUDFLARE_DEPLOY_ENABLED=false. Pull requests still do not deploy.

Open in Web Open in Cursor 

Remove the opt-in skip so production deploys run on main unless CLOUDFLARE_DEPLOY_ENABLED is false. Deploy the compatibility Worker after tempus.

Co-authored-by: Myles Cook <MylesMCook@users.noreply.github.com>
@MylesMCook
MylesMCook marked this pull request as ready for review September 14, 2026 19:43
Copilot AI lite review requested due to automatic review settings September 14, 2026 19:43
@cursor
cursor Bot merged commit fe02a1c into main Sep 14, 2026
2 checks passed
@cursor
cursor Bot deleted the cursor/enable-github-auto-deploy-e60a branch September 14, 2026 19:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Production deployment behavior and credentials require final human verification.

Pull request overview

Enables default-on Cloudflare deployment from main, including sequential deployment of both Workers, with updated documentation.

Changes:

  • Adds repository, branch, fork, and opt-out safeguards.
  • Validates credentials before deployment.
  • Updates deployment and security guidance.
File summaries
File Summary
docs/security-review.md Updates CI and production-deployment guidance.
docs/cloudflare-workers.md Documents deployment behavior and recovery controls.
.github/workflows/deploy-cloudflare.yml Adds guarded dual-Worker deployment and credential checks.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

3 participants