Skip to content

ci: remove PR deployments - #31757

Merged
sreya merged 2 commits into
mainfrom
ci/remove-pr-deployments
Nov 4, 2026
Merged

sreya merged 2 commits into
mainfrom
ci/remove-pr-deployments

Conversation

@sreya

@sreya sreya commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

PR deployments have been dead since February, but pr-cleanup.yaml still runs on every closed PR with the deployment secrets in scope.

  • pr-deploy.yaml has been disabled_manually since 2026-02-13 (last run that day).
  • pr-cleanup.yaml still runs on every closed PR and every step fails while the job reports success: the image tag doesn't exist, PR_DEPLOYMENTS_KUBECONFIG no longer parses (cluster unreachable ... json parse error), and the Cloudflare token gets Authentication error on the zone.
  • pr-deploy.yaml runs on push to any branch, so its Cloudflare token and kubeconfig were readable by anyone who can push a branch.

Removes pr-deploy.yaml, pr-cleanup.yaml, scripts/deploy-pr.sh, .github/pr-deployments/, the stale.yaml job that pruned their runs, and the CONTRIBUTING section. Nothing else references them. The ghcr.io/coder/coder-preview image is still built by ci.yaml and is unaffected.

After merge, the PR_DEPLOYMENTS_* secrets are unused and can be deleted; the Cloudflare token, GitHub OAuth app, and Slack webhook behind them should be revoked.

@sreya for review.


Generated with Coder Agents.

@sreya sreya self-assigned this Nov 4, 2026
@sreya
sreya merged commit 2cab0e8 into main Nov 4, 2026
28 of 29 checks passed
@sreya
sreya deleted the ci/remove-pr-deployments branch November 4, 2026 21:47
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants