opencode/.github/workflows
Dax Raad 7bac5bad02 fix(deploy): run Cloudflare deploys from verified artifacts behind pinned targets
Repository code outside .github/ needs no review, but every deploy job held a
Cloudflare token strong enough to write any Worker on the account (the data
sync Workflow PUT has no per-Worker permission). A dev merge could therefore
overwrite production Workers.

Split each service into a build job with no environment, secrets, or OIDC token
that uploads a SHA256SUMS artifact, and a deploy job in dev|production that
checks out only .github/release/, verifies the artifact against the build job's
digest, installs the cf/wrangler CLI pinned here, and runs only deploy-*.sh.

The deploy scripts treat the artifact as data and refuse it unless its resolved
config equals the pinned target in .github/release/targets/ exactly: Worker
names, routes, custom domains, crons, Workflow names, and bindings. For cf
services the pinned config is what cf reads. That is what makes an account-wide
token safe, and it keeps production out of reach of a dev merge.

Adds the cf 1.0.0-beta.12 and wrangler 4.110.0 lockfiles the deploy jobs
install with npm ci --ignore-scripts.
2026-11-11 04:51:07 -05:00
..
bot-nix-hashes.yml ci: publish nix hashes through an auto-merged pull request (#59464) 2026-10-26 23:00:48 -04:00
check-bot-scope.yml ci: publish nix hashes through an auto-merged pull request (#59464) 2026-10-26 23:00:48 -04:00
check-docs.yml ci(site): build the docs without a mode (#62468) 2026-11-07 12:39:36 -05:00
check-nix.yml ci: name workflows by kind (check-*, bot-*, triage-*) (#59077) 2026-10-25 22:38:40 +00:00
check-process-daemon.yml ci(process-daemon): stop pinning the protocol in the Windows smoke test (#61889) 2026-11-04 23:16:29 -06:00
check-test.yml chore(ci): gate a stable release on the linux browser suites 2026-11-10 21:47:12 -05:00
check.yml feat(plugin): add OpenCode Desktop GUI plugins (#55246) 2026-10-27 10:54:50 +10:00
deploy-files.yml fix(deploy): run Cloudflare deploys from verified artifacts behind pinned targets 2026-11-11 04:51:07 -05:00
deploy-site.yml fix(deploy): run Cloudflare deploys from verified artifacts behind pinned targets 2026-11-11 04:51:07 -05:00
deploy-update.yml fix(deploy): run Cloudflare deploys from verified artifacts behind pinned targets 2026-11-11 04:51:07 -05:00
deploy.yml fix(deploy): run Cloudflare deploys from verified artifacts behind pinned targets 2026-11-11 04:51:07 -05:00
nightly-beta.yml chore: merge dev into beta 2026-10-26 09:35:44 +10:00
release-process-daemon.yml ci(process-daemon): read the release protocol version from the source (#62006) 2026-11-05 10:38:03 -06:00
release.yml chore(ci): gate a stable release on the linux browser suites 2026-11-10 21:47:12 -05:00
triage-close-issues.yml ci: name workflows by kind (check-*, bot-*, triage-*) (#59077) 2026-10-25 22:38:40 +00:00
triage-close-prs.yml ci: name workflows by kind (check-*, bot-*, triage-*) (#59077) 2026-10-25 22:38:40 +00:00
triage-compliance-close.yml ci: name workflows by kind (check-*, bot-*, triage-*) (#59077) 2026-10-25 22:38:40 +00:00
triage-contributor.yml ci: name workflows by kind (check-*, bot-*, triage-*) (#59077) 2026-10-25 22:38:40 +00:00
triage-pr-standards.yml ci: name workflows by kind (check-*, bot-*, triage-*) (#59077) 2026-10-25 22:38:40 +00:00