Skip to content

Commit 00ba80b

Browse files
committed
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
1 parent 322a223 commit 00ba80b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/shared/WebviewMessage.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@ export interface WebviewMessage {
226226
| "editQueuedMessage"
227227
| "dismissUpsell"
228228
| "getDismissedUpsells"
229+
| "githubActionsStatus"
230+
| "githubActionsEnable"
231+
| "githubActionsDisable"
232+
| "githubActionsInstallWorkflows"
233+
| "githubActionsSetupBot"
229234
text?: string
230235
editedMessageContent?: string
231236
tab?: "settings" | "history" | "mcp" | "modes" | "chat" | "marketplace" | "cloud"
@@ -273,6 +278,7 @@ export interface WebviewMessage {
273278
checkOnly?: boolean // For deleteCustomMode check
274279
upsellId?: string // For dismissUpsell
275280
list?: string[] // For dismissedUpsells response
281+
templates?: string[] // For githubActionsInstallWorkflows
276282
codeIndexSettings?: {
277283
// Global state settings
278284
codebaseIndexEnabled: boolean

webview-ui/src/components/githubActions/GitHubActionsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ const GitHubActionsView: React.FC<GitHubActionsViewProps> = ({ onDone }) => {
192192
<p className="font-medium mb-2">To complete the setup:</p>
193193
<ol className="list-decimal list-inside space-y-1 text-vscode-descriptionForeground">
194194
<li>Go to your repository settings on GitHub</li>
195-
<li>Navigate to "Secrets and variables""Actions"</li>
195+
<li>Navigate to &quot;Secrets and variables&quot;&quot;Actions&quot;</li>
196196
<li>
197197
Add a new secret named{" "}
198198
<code className="px-1 py-0.5 bg-vscode-editor-background rounded">

0 commit comments

Comments
 (0)