Skip to content

Commit 92f9ad5

Browse files
sjarmakcursoragent
andcommitted
Track .github/workflows and add repo health CI
- .gitignore: allow .github/ and .github/** so repo CI is tracked - .github/workflows/repo_health.yml: run full repo health gate on push/PR to main Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent b607290 commit 92f9ad5

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/repo_health.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Repo health gate: catch doc drift and invalid config/tasks before merge.
2+
# Keeps main clean so we can commit working solutions often and reduce entropy.
3+
name: Repo health
4+
5+
on:
6+
push:
7+
branches: [main]
8+
pull_request:
9+
branches: [main]
10+
11+
jobs:
12+
health:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.10"
21+
22+
- name: Repo health gate (full)
23+
run: python3 scripts/repo_health.py

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ __pycache__/
88
.*
99
!.gitignore
1010
!.gitattributes
11+
# Repo CI (workflows live here; do not ignore)
12+
!.github/
13+
!.github/**
1114

1215
# Ephemeral run artifacts
1316
archive/

0 commit comments

Comments
 (0)