Add the review guide

This commit is contained in:
2026-09-13 23:16:58 +09:00
parent 8c2041bbc5
commit 3092c0ff6f
3 changed files with 88 additions and 9 deletions
+3
View File
@@ -89,6 +89,9 @@ async function renderPrompt(): Promise<string> {
.map((c) => `## ${c.user.login} at ${c.created_at}\n\n${c.body}\n`)
.join("\n"),
CODE_RULES: await (await gitea(REVIEWER_TOKEN, RULES_PATH)).text(),
REVIEW_GUIDE: await Deno.readTextFile(
new URL("review.md", import.meta.url),
),
EVENT_NAME: EVENT,
GITEA_API_URL: API,
GITEA_REPOSITORY: REPO,