fix(editor): bundle Monaco locally to fix stuck Loading state and CSP block

- Add monaco-editor to frontend deps and configure @monaco-editor/react
  to use the local bundle via loader.config({ monaco }) instead of
  fetching from cdn.jsdelivr.net (blocked by CSP scriptSrc: self)
- Wire editorWorker via Vite ?worker syntax — blob: URLs already
  permitted by existing workerSrc CSP directive, no CSP changes needed
- fix(ci): use DOCS_REPO_TOKEN in release-please so tag creation
  cascades to docker-publish.yml (GITHUB_TOKEN cannot trigger workflows)
- fix(ci): auto-merge screenshots PR via gh pr merge --auto --squash
This commit is contained in:
SaelixCode
2026-03-24 19:43:55 -04:00
parent f93d5bd194
commit 79fde6e2bd
6 changed files with 35 additions and 1 deletions
+4 -1
View File
@@ -15,6 +15,9 @@ jobs:
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
# GITHUB_TOKEN cannot trigger other workflows (GitHub security restriction).
# Using DOCS_REPO_TOKEN (PAT) ensures the tag push from release-please
# cascades to docker-publish.yml and publishes to Docker Hub.
token: ${{ secrets.DOCS_REPO_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json