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
This commit is contained in:
Roo Code 2025-09-21 04:34:18 +00:00
parent 322a2230f1
commit 00ba80b4ac
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

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