From fddc227b4ae60f93b26bc00a762bd44f4e667d36 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Tue, 6 May 2025 13:00:47 -0700 Subject: [PATCH] Add workflow scope for github (#101) --- src/ipc/handlers/github_handlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc/handlers/github_handlers.ts b/src/ipc/handlers/github_handlers.ts index 271b64f..df27c6e 100644 --- a/src/ipc/handlers/github_handlers.ts +++ b/src/ipc/handlers/github_handlers.ts @@ -25,7 +25,7 @@ const logger = log.scope("github_handlers"); const GITHUB_CLIENT_ID = process.env.GITHUB_CLIENT_ID || "Ov23liWV2HdC0RBLecWx"; const GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code"; const GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token"; -const GITHUB_SCOPES = "repo,user"; // Define the scopes needed +const GITHUB_SCOPES = "repo,user,workflow"; // Define the scopes needed // --- State Management (Simple in-memory, consider alternatives for robustness) --- interface DeviceFlowState {