Skip to content

Commit 8807c05

Browse files
Julius Marmingeclaude
andcommitted
chore(ci): only run check-run agents on vouched contributors
Macroscope check-run agents ran on every pull request, so anyone could open a PR and spend our review budget. Gate both agents on the vouch:trusted label that pr-vouch.yml already maintains, so they only run for collaborators and authors in .github/VOUCHED.td. Also require the CI Check job to pass first so we do not pay to review code that does not compile, and cap each agent's spend per PR. Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent e94603a commit 8807c05

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎.macroscope/check-run-agents/effect-service-conventions.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ include:
1515
- "packages/**/*.tsx"
1616
- "infra/**/*.ts"
1717
- "infra/**/*.tsx"
18+
labels:
19+
- vouch:trusted
20+
requires:
21+
- Check
22+
maxBudgetPerPR: 25
1823
conclusion: failure
1924
showToolCalls: true
2025
---

‎.macroscope/check-run-agents/ui-consistency.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ include:
1111
- "apps/web/src/**/*.css"
1212
exclude:
1313
- "apps/web/src/**/*.test.tsx"
14+
labels:
15+
- vouch:trusted
16+
requires:
17+
- Check
18+
maxBudgetPerPR: 25
1419
conclusion: failure
1520
maxBudgetPerRun: 10
1621
---

0 commit comments

Comments
 (0)