feat: reusable review workflow
tests / unittest (push) Successful in 19s

Callers use Civilytics/docs-review/.gitea/workflows/review.yml@v1 with secrets: inherit.
Stage 1 on every pull request; for drafter: claude, a 180-second wait and then the sandboxed
drafter; closed pull requests close their docs PR; schedule and dispatch run the monthly
pass. Tested live against Gitea 28.3 (drafter none, a misspelled drafter, claude, close).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-12 15:12:57 -05:00
1 parent ade847ba5b
commit f39409e62c
11 files changed
+466 -26

No files matched your search

+2 -1
View File
@@ -22,7 +22,8 @@ class ExportFailureTest(unittest.TestCase):
tmp = Path(self._tmp.name)
self.repo = make_repo(tmp / "repo")
(tmp / "runner").mkdir()
self.env = {"RUNNER_TEMP": str(tmp / "runner"), "PATH": "/usr/bin:/bin"}
self.env = {"RUNNER_TEMP": str(tmp / "runner"), "PATH": "/usr/bin:/bin",
"ANTHROPIC_API_KEY": "test-api-key-value-123456"}
def draft_with(self, err):
made = []