feat: add sticky_comment input to reduce GitHub comment spam (#211)

* feat: no claude spam

* feat: add silent property

* feat: add silent property

* feat: add silent property

* chore: call me a sticky comment

* chore: applying review comments

* chore: apply review comments

* format

* reword

---------

Co-authored-by: Ashwin Bhat <ashwin@anthropic.com>
This commit is contained in:
Dmitriy Shekhovtsov
2025-07-01 19:37:39 +02:00
committed by GitHub
parent bcb072b63f
commit 79f2086fce
7 changed files with 50 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ export type ParsedGitHubContext = {
directPrompt: string;
baseBranch?: string;
branchPrefix: string;
useStickyComment: boolean;
};
};
@@ -62,6 +63,7 @@ export function parseGitHubContext(): ParsedGitHubContext {
directPrompt: process.env.DIRECT_PROMPT ?? "",
baseBranch: process.env.BASE_BRANCH,
branchPrefix: process.env.BRANCH_PREFIX ?? "claude/",
useStickyComment: process.env.STICKY_COMMENT === "true",
},
};