Skip to content

[codex] CMSをeditorial workflowへ切り替え#150

Merged
gui-ace merged 1 commit into
mainfrom
codex/cms-editorial-workflow
Jun 19, 2026
Merged

[codex] CMSをeditorial workflowへ切り替え#150
gui-ace merged 1 commit into
mainfrom
codex/cms-editorial-workflow

Conversation

@gui-ace

@gui-ace gui-ace commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

関連 Issue

なし

概要

CMS 書き込み branch 運用を、恒久的な cms-content 投稿受け皿ではなく Sveltia CMS の editorial workflow 型へ切り替えます。main を publication branch / 本番ソースの唯一の正にし、CMS 保存は短命な cms/... branch と PR 経由で main に入る形にします。

主な変更点

  • public/admin/config.ymlbackend.branch: mainpublish_mode: editorial_workflow に変更
  • CMS runtime config の production default branch を main に変更
  • cms-content 用の PR 作成 workflow を削除
  • README / AGENTS / docs/cms-write-workflow.md を editorial workflow 運用に更新
  • 翻訳 PR task が cms: ... commit subject に依存するため、CMS PR は squash merge しない運用を明記

確認したこと

  • AGENTS.md, .github/copilot-instructions.md, .github/pull_request_template.md を確認
  • git status --short --branch
  • git worktree list
  • public/admin/config.yml, public/admin/index.html, public/admin/init.js, scripts/write-cms-runtime-config.mjs, .github/workflows/*.yml を確認
  • GitHub repository default branch: main
  • cms-content branch: open PR なし / mainahead_by: 0, behind_by: 26
  • npx prettier --check AGENTS.md README.md docs/cms-write-workflow.md public/admin/config.yml scripts/write-cms-runtime-config.mjs
  • git diff --check
  • npm run build は通常 sandbox で public/admin/runtime-config.js 書き込み EPERM、同一コマンドを権限付き再実行して成功

未確認事項・補足

  • Sveltia CMS の editorial workflow は実 CMS 画面での保存操作までは未実施です。静的検証と build は通しています。
  • 現在の GitHub OAuth backend では、PR branch 作成 actor は編集者個人の GitHub 権限です。専用 bot / GitHub App actor へ完全移行する場合は CMS 保存 backend の追加実装が必要です。
  • 既存 remote cms-content branch は、この変更が main に反映され、未反映差分や open PR がないことを確認してから削除候補にしてください。

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying acecore-net with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2243e39
Status: ✅  Deploy successful!
Preview URL: https://0359eff1.acecore-net.pages.dev
Branch Preview URL: https://codex-cms-editorial-workflow.acecore-net.pages.dev

View logs

@gui-ace
gui-ace merged commit 9e7ee37 into main Jun 19, 2026
2 checks passed
@gui-ace
gui-ace deleted the codex/cms-editorial-workflow branch June 19, 2026 10:19
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.

1 participant