Skip to content

Stop scheduled syncs from logging Production deployments - #128

Merged
jamesembling merged 1 commit into
mainfrom
ci/no-deployment-records-for-syncs
Nov 21, 2026
Merged

jamesembling merged 1 commit into
mainfrom
ci/no-deployment-records-for-syncs

Conversation

@jamesembling

Copy link
Copy Markdown
Owner

The Deployments page showed hundreds of "Production" deployments that were really just the scheduled Refresh Limitless events job (plus the card-definition sync and publish jobs). They use the Production environment only for its secrets, but GitHub records a deployment every time a job references an environment.

This switches those three jobs to environment: { name: Production, deployment: false } (GitHub changelog, March 2026). They keep the environment's secrets and its main-only branch policy, but no longer create deployment records. The Production environment has no custom deployment protection rules, which is the one case where deployment: false fails.

deploy-production-database.yml is unchanged. It is a real deployment and should stay in the history.

Checks: workflow contract and migration runbook tests pass, Prettier is clean, and all three files parse to the expected environment block.

🤖 Generated with Claude Code

The Limitless and card-definition jobs use the Production environment only
for its secrets, but each run created a GitHub deployment record, flooding
the Deployments page. Opt them out with deployment: false. The database
deploy workflow keeps its records because it is a real deployment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jamesembling jamesembling added the merge-when-green Squash-merge automatically once every check is green label Nov 21, 2026
@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
poke-notes-app Ready Ready Preview Nov 21, 2026 10:17pm UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T22:18:22.723331Z ec8f8ac PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jamesembling
jamesembling merged commit 59f2c18 into main Nov 21, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — ec8f8ac8 Deployed Nov 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-when-green Squash-merge automatically once every check is green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant