This commit is contained in:
github-actions[bot]
2025-09-04 11:11:56 -07:00
parent 222c780563
commit cc47c8baef

View File

@@ -88,6 +88,7 @@ export const agentMode: Mode = {
let user = null; let user = null;
// Check if bot_id is provided // Check if bot_id is provided
console.log("yolobot", context.inputs.botId);
const botId = context.inputs.botId; const botId = context.inputs.botId;
if (botId && botId !== String(GITHUB_ACTIONS_BOT_ID)) { if (botId && botId !== String(GITHUB_ACTIONS_BOT_ID)) {
// Use custom bot_id - try to fetch user info // Use custom bot_id - try to fetch user info