Files
sure/.github/workflows/pr.yml
T
Juan José MataandClaude 9dfcf9c823 Remove unfinished Cloudflare Workers PR preview deployments (#3074)
The Cloudflare Containers preview stack was never finished and no open PR
carries the `preview-cf` label, so nothing is actively using it. Meanwhile
the deploy workflow fires on every completed "Pull Request" run and spins
up a runner just to evaluate its gate and skip.

Removed entirely:

- `workers/preview/` — the Worker (Durable Object container orchestration),
  wrangler config, npm manifests, and the `deploy/` resolver, config
  renderer, and log redaction helpers
- `Dockerfile.preview` — Rails image with embedded PostgreSQL/Redis and the
  inline preview entrypoint
- `.github/workflows/preview-deploy.yml` and `preview-cleanup.yml`
- `bin/preview_deploy_security_check.rb` — CI guard for the above workflows
- `test/javascript/preview_deploy/` — tests for the deleted deploy helpers

Workflow cleanup:

- `pr.yml`: drop the `preview_image` job. Also drop the `labeled` trigger
  type, which existed only so labelling `preview-cf` re-triggered the build
  and would otherwise re-run full CI on every label change.
- `ci.yml`: drop the preview hardening validation step.
- `pipelock.yml`: drop the exclude-paths entries for the deleted files.

Deliberately untouched: the per-user preview *feature* gate
(`PreviewGateable`, `config/locales/views/preview/`), Cloudflare R2 Active
Storage config, and the Cloudflare Workers AI demo banner strings — all
unrelated to preview deployments.


Claude-Session: https://claude.ai/code/session_017TrvqNZqqzN74X7PmznJ5X

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-18 06:41:16 +02:00

16 lines
223 B
YAML

name: Pull Request
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- 'charts/**'
permissions:
contents: read
jobs:
ci:
uses: ./.github/workflows/ci.yml