Files
multica/.github/ci-paths.json
T
Bohan Jiangandmultica-agent 53578958bc fix(selfhost): pass MULTICA_DINGTALK_SECRET_KEY through and guard integration keys (#8617)
The backend service environment in docker-compose.selfhost.yml is an
explicit allowlist, and MULTICA_DINGTALK_SECRET_KEY was never on it:
Docker self-hosters who set the key in .env still got a disabled DingTalk
integration. Telegram had the same gap until #8611.

- Map MULTICA_DINGTALK_SECRET_KEY into the backend service.
- Document MULTICA_SLACK_SECRET_KEY and MULTICA_TELEGRAM_SECRET_KEY in
  .env.example next to the other channel keys.
- Extend selfhost-config.test.sh: every key the server loads through
  secretbox.LoadKey must be mapped in docker-compose.selfhost.yml and
  listed in .env.example. The list comes from the server, not the docs,
  because Telegram's key was missing from both.
- Run script-checks when server/cmd/server/router.go changes, where the
  integration gates live, so a new channel key trips the guard in the PR
  that adds it.

Co-authored-by: multica-agent <[email protected]>
2026-09-21 12:07:23 +08:00

141 lines
3.6 KiB
JSON

{
"frontend": [
".github/actions/frontend-quality/**",
"apps/web/**",
"apps/desktop/**",
"apps/ui-lab/**",
"packages/**",
"package.json",
".npmrc",
"pnpm-lock.yaml",
"pnpm-workspace.yaml",
"patches/**",
"turbo.json",
".github/workflows/ci.yml",
".github/ci-paths.json",
"scripts/ci-scope.mjs",
"scripts/ci-scope.test.mjs"
],
"backend": [
"server/**",
"packages/core/runtimes/cli-version.ts",
"scripts/agent-cli-command-names.txt",
"scripts/go-test-with-agent-cli-guard.sh",
"scripts/test-go.sh",
"scripts/test-go.test.sh",
"Makefile",
".github/workflows/ci.yml",
".github/ci-paths.json",
"scripts/ci-scope.mjs",
"scripts/ci-scope.test.mjs"
],
"sqlc": [
"server/pkg/db/queries/**",
"server/pkg/db/generated/**",
"server/migrations/**",
"server/sqlc.yaml",
"Makefile",
".github/workflows/ci.yml",
".github/ci-paths.json",
"scripts/ci-scope.mjs",
"scripts/ci-scope.test.mjs"
],
"runtime": [
"packages/core/runtimes/cli-version.ts",
"scripts/agent-cli-command-names.txt",
"scripts/go-test-with-agent-cli-guard.sh",
"scripts/test-go.sh",
"scripts/test-go.test.sh",
".github/workflows/ci.yml",
"server/internal/**",
"server/pkg/**",
"server/cmd/**",
"server/go.mod",
"server/go.sum",
".github/ci-paths.json",
"scripts/ci-scope.mjs",
"scripts/ci-scope.test.mjs"
],
"quality": [
".github/actions/frontend-quality/**",
"apps/**",
"packages/**",
"package.json",
".npmrc",
"pnpm-lock.yaml",
"pnpm-workspace.yaml",
"patches/**",
"turbo.json",
"knip.jsonc",
"scripts/*.mjs",
"scripts/check-ui-wildcard-exports.test.sh",
".github/workflows/mobile-verify.yml",
".github/workflows/ci.yml",
".github/ci-paths.json"
],
"scripts": [
"scripts/generate-reserved-slugs.mjs",
"scripts/selfhost-config.test.sh",
"scripts/drop-database.sh",
"scripts/remove-worktree.sh",
"scripts/worktree-db.test.sh",
"scripts/dev-env.sh",
"scripts/dev-env.test.sh",
"scripts/perf-compare.mjs",
"scripts/perf-compare.test.sh",
"scripts/selfhost-wait.sh",
"scripts/install.sh",
"scripts/install.ps1",
"scripts/check.sh",
"scripts/dev.sh",
"scripts/local-env.sh",
"scripts/init-worktree-env.sh",
"scripts/local-env.test.sh",
"scripts/helm-config.test.sh",
"scripts/entrypoint.test.sh",
"scripts/makefile-build.test.sh",
"deploy/helm/**",
"docker/entrypoint.sh",
".env.example",
"docker-compose.selfhost.yml",
"docker-compose.selfhost.build.yml",
"Makefile",
"server/internal/handler/reserved_slugs.json",
"packages/core/paths/reserved-slugs.ts",
"server/cmd/server/router.go",
".github/workflows/ci.yml",
".github/ci-paths.json",
"scripts/ci-scope.mjs",
"scripts/ci-scope.test.mjs"
],
"installer": [
"scripts/install.sh",
"scripts/install.test.sh",
"scripts/install.ps1",
"scripts/install.ps1.test.ps1",
".env.example",
"docker-compose.selfhost.yml",
"docker-compose.selfhost.build.yml",
".github/workflows/ci.yml",
".github/ci-paths.json",
"scripts/ci-scope.mjs",
"scripts/ci-scope.test.mjs"
],
"images": [
"**/*.png",
"**/*.jpg",
"**/*.jpeg",
"**/*.gif",
"**/*.bmp",
"**/*.tif",
"**/*.tiff",
"**/*.webp",
"**/*.avif",
"scripts/check-image-budget.mjs",
".github/workflows/ci.yml",
".github/ci-paths.json",
"scripts/ci-scope.mjs",
"scripts/ci-scope.test.mjs"
]
}