mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 22:44:13 +08:00
feat(config): add branch prefix configuration (#197)
This commit is contained in:
@@ -35,6 +35,7 @@ export type ParsedGitHubContext = {
|
||||
customInstructions: string;
|
||||
directPrompt: string;
|
||||
baseBranch?: string;
|
||||
branchPrefix: string;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -60,6 +61,7 @@ export function parseGitHubContext(): ParsedGitHubContext {
|
||||
customInstructions: process.env.CUSTOM_INSTRUCTIONS ?? "",
|
||||
directPrompt: process.env.DIRECT_PROMPT ?? "",
|
||||
baseBranch: process.env.BASE_BRANCH,
|
||||
branchPrefix: process.env.BRANCH_PREFIX ?? "claude/",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user