From 00ba80b4ac58a060c27f0a46758312caa869a28b Mon Sep 17 00:00:00 2001 From: Roo Code Date: Sun, 21 Sep 2025 04:34:18 +0000 Subject: [PATCH] fix: resolve linting and TypeScript errors in GitHub Actions implementation - Fix unescaped quotes in GitHubActionsView.tsx - Add GitHub Actions message types to WebviewMessage interface - Add templates property for githubActionsInstallWorkflows message --- src/shared/WebviewMessage.ts | 6 ++++++ .../src/components/githubActions/GitHubActionsView.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/shared/WebviewMessage.ts b/src/shared/WebviewMessage.ts index f5bbae577e..b40ebe029c 100644 --- a/src/shared/WebviewMessage.ts +++ b/src/shared/WebviewMessage.ts @@ -226,6 +226,11 @@ export interface WebviewMessage { | "editQueuedMessage" | "dismissUpsell" | "getDismissedUpsells" + | "githubActionsStatus" + | "githubActionsEnable" + | "githubActionsDisable" + | "githubActionsInstallWorkflows" + | "githubActionsSetupBot" text?: string editedMessageContent?: string tab?: "settings" | "history" | "mcp" | "modes" | "chat" | "marketplace" | "cloud" @@ -273,6 +278,7 @@ export interface WebviewMessage { checkOnly?: boolean // For deleteCustomMode check upsellId?: string // For dismissUpsell list?: string[] // For dismissedUpsells response + templates?: string[] // For githubActionsInstallWorkflows codeIndexSettings?: { // Global state settings codebaseIndexEnabled: boolean diff --git a/webview-ui/src/components/githubActions/GitHubActionsView.tsx b/webview-ui/src/components/githubActions/GitHubActionsView.tsx index 54ece7bb12..092b522b19 100644 --- a/webview-ui/src/components/githubActions/GitHubActionsView.tsx +++ b/webview-ui/src/components/githubActions/GitHubActionsView.tsx @@ -192,7 +192,7 @@ const GitHubActionsView: React.FC = ({ onDone }) => {

To complete the setup:

  1. Go to your repository settings on GitHub
  2. -
  3. Navigate to "Secrets and variables" → "Actions"
  4. +
  5. Navigate to "Secrets and variables" → "Actions"
  6. Add a new secret named{" "}