update instructions fixtures and comment handling

This commit is contained in:
Colin McDonnell
2025-11-20 18:58:20 -08:00
parent 550a162ca6
commit 595b246235
6 changed files with 34 additions and 19 deletions
-2
View File
@@ -36,9 +36,7 @@ export async function fetchRepoSettings({
token: string;
repoContext: RepoContext;
}): Promise<RepoSettings> {
log.info("Fetching repository settings...");
const settings = await getRepoSettings(token, repoContext);
log.info("Repository settings fetched");
return settings;
}
-6
View File
@@ -98,12 +98,6 @@ export function setupGitAuth(githubToken: string, repoContext: RepoContext): voi
* Automatically checks out the appropriate branch before agent execution
*/
export function setupGitBranch(payload: Payload): void {
// Only set up git branch in GitHub Actions environment
// In local testing, this might interfere with local git state
if (!process.env.GITHUB_ACTIONS) {
return;
}
const branch = payload.event.branch;
if (!branch) {