Add the review guide
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user