Skip to content

Commit 5ebc62e

Browse files
agjscursoragent
andcommitted
chore: remove duplicate repo-settings tooling and deprecation markers
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fadab97 commit 5ebc62e

18 files changed

Lines changed: 22 additions & 1125 deletions

File tree

apps/api/.github/desired-repo-settings.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

apps/api/SECURITY.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ The `main` branch on every BoringStack template repo enforces:
5656
- Conversations must resolve before merge
5757

5858
Repo-level settings (secret scanning, push protection, Dependabot
59-
security updates, merge prefs) are described in
60-
`.github/desired-repo-settings.json`. The `scripts/ci/audit-repo-settings.sh`
61-
script diffs that against the live GitHub API and prints copy-pasteable
62-
fix commands — no auto-apply.
59+
security updates, merge prefs) are described in the monorepo root
60+
`.github/desired-repo-settings.json`. Run `./scripts/audit-repo-settings.sh`
61+
from the repo root to diff that file against the live GitHub API and print
62+
copy-pasteable fix commands — no auto-apply.
6363

6464
## Agent-driven review
6565

apps/api/docs/agents/security-pipeline.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ const spec: unknown = new Function("return " + precompiledCode)();
4848

4949
## Repo settings drift detector
5050

51-
`scripts/ci/audit-repo-settings.sh` reads `.github/desired-repo-settings.json`,
52-
diffs against the live GitHub API, and prints copy-pasteable `gh api`
53-
commands for any drift. It auto-applies nothing. Run it after anyone
54-
touches repo settings in the GitHub UI.
51+
The monorepo root `./scripts/audit-repo-settings.sh` reads
52+
`.github/desired-repo-settings.json`, diffs against the live GitHub API,
53+
and prints copy-pasteable `gh api` commands for any drift. It auto-applies
54+
nothing. Run it after anyone touches repo settings in the GitHub UI.
5555

5656
Desired state (enforced on every repo):
5757

apps/api/scripts/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ When you add a `package.json` script that runs a file under `scripts/`, update t
88

99
| Folder | Purpose |
1010
| -------------------------- | ------------------------------------------------------- |
11-
| [`ci/`](ci/) | Pre-push gate, CI manifest, GitHub settings audit |
11+
| [`ci/`](ci/) | Pre-push gate, CI manifest |
1212
| [`dev/`](dev/) | Local developer workflow guards |
1313
| [`codegen/`](codegen/) | Scaffolding, ACL type sync, VAPID key generation |
1414
| [`db/`](db/) | Database seed utilities |
@@ -47,6 +47,5 @@ When you add a `package.json` script that runs a file under `scripts/`, update t
4747

4848
## Manual / operator
4949

50-
| Task | Script |
51-
| -------------------------------- | --------------------------- |
52-
| Audit GitHub repo settings drift | `ci/audit-repo-settings.sh` |
50+
See the monorepo root `scripts/audit-repo-settings.sh` to audit GitHub repo
51+
settings drift against `.github/desired-repo-settings.json`.

apps/api/scripts/ci/audit-repo-settings.sh

Lines changed: 0 additions & 189 deletions
This file was deleted.

apps/docs/.github/desired-repo-settings.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)