Flesh out debug logs

This commit is contained in:
Colin McDonnell
2025-12-17 13:11:44 -08:00
parent bd932e7696
commit 1f1c1602c5
9 changed files with 57 additions and 54 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export function PullRequestTool(ctx: Context) {
parameters: PullRequest,
execute: execute(ctx, async ({ title, body, base }) => {
const currentBranch = $("git", ["rev-parse", "--abbrev-ref", "HEAD"], { log: false });
log.info(`Current branch: ${currentBranch}`);
log.debug(`Current branch: ${currentBranch}`);
// validate PR title and body for secrets
if (containsSecrets(title) || containsSecrets(body)) {