From 18a977c4f6529d8193b7061683eecbf7fb37640c Mon Sep 17 00:00:00 2001 From: fan <969103266@qq.com> Date: Sun, 2 Aug 2026 17:23:09 +1000 Subject: [PATCH 1/2] chore: add CodeRabbit config --- .coderabbit.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .coderabbit.yaml diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 0000000..4ccc118 --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,20 @@ +language: en-US # review comments in English +reviews: + profile: chill # assertive = stricter / chill = more restrained; chill suits solo + request_changes_workflow: false # don't hard-block with request changes (avoid self-gating) + high_level_summary: true + poem: false # disable the default poem + auto_review: + enabled: true + base_branches: + - dev + - main + path_instructions: + - path: "backend/**" + instructions: "Minimal API only, no Controllers. Dapper query-only, no EF Core. All JSON fields camelCase. Push calculations into Postgres views." + - path: "frontend/**" + instructions: "React functional components + TanStack Query hooks in src/api/suburbs.ts. Tailwind v4 with the Nocturne design tokens." + - path: "agent/**" + instructions: "LangGraph + LangChain. Keep the deterministic guard layers offline and API-free." +chat: + auto_reply: true From d7f7a5fff47ef207cc6d0aabd72ea046179c227d Mon Sep 17 00:00:00 2001 From: fan <969103266@qq.com> Date: Tue, 4 Aug 2026 10:51:36 +1000 Subject: [PATCH 2/2] chore: add release-please automation config --- .github/.release-please-manifest.json | 3 +++ .github/release-please-config.json | 18 ++++++++++++++++++ .github/workflows/release-please.yml | 18 ++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 .github/.release-please-manifest.json create mode 100644 .github/release-please-config.json create mode 100644 .github/workflows/release-please.yml diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json new file mode 100644 index 0000000..37fcefa --- /dev/null +++ b/.github/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.0.0" +} diff --git a/.github/release-please-config.json b/.github/release-please-config.json new file mode 100644 index 0000000..20371a3 --- /dev/null +++ b/.github/release-please-config.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "simple", + "packages": { + ".": { + "package-name": "suburblens", + "changelog-path": "CHANGELOG.md" + } + }, + "changelog-sections": [ + { "type": "feat", "section": "Features" }, + { "type": "fix", "section": "Bug Fixes" }, + { "type": "perf", "section": "Performance" }, + { "type": "refactor", "section": "Refactors" }, + { "type": "docs", "section": "Documentation" }, + { "type": "chore", "section": "Miscellaneous", "hidden": true } + ] +} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..f6e7db3 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,18 @@ +name: release-please + +on: + push: + branches: [main] + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + with: + config-file: .github/release-please-config.json + manifest-file: .github/.release-please-manifest.json