Skip to content

insanoid/GithubActionsAI

Repository files navigation

GitHub Actions with AI (VSCode / Cursor Extension)

See your CI results without leaving the editor. Send failures straight to AI. Built for Cursor (and VS Code).

GitHub Actions with AI screenshot

Why?

The official GitHub Actions extension requires you to navigate through a separate panel, doesn't focus on your current branch, and doesn't let you do anything useful with failed logs. When CI fails, you end up on github.com copying log output and pasting it back into your editor.

This extension puts your current branch's CI status front and center, lets you drill into the exact step that failed, and sends that failure log straight to the AI chat for analysis -- all without leaving the editor.

Features

  • Status bar indicator -- see pass/fail at a glance, color-coded (red on failure, yellow while running)
  • Tree view in Source Control -- Workflow Runs > Jobs > Steps, with live status icons and timestamps
  • Step-level log viewer -- click a failed step to open just that step's log in an editor tab (not the entire job)
  • One-click AI analysis -- click the chat icon on any failed step or job to send its logs directly to the AI chat
  • Feed All Errors to AI -- one button to collect every CI failure on the branch and send them all to AI with clear dividers
  • Smart polling -- polls every 30s while CI runs, every 2min when idle, pauses when the window is unfocused
  • Branch-aware -- automatically refreshes when you switch branches

Install

Latest release (recommended):

curl -fsSL https://raw.githubusercontent.com/insanoid/GithubActionsAI/master/install.sh | bash

Latest CI build (bleeding edge, requires GitHub token):

curl -fsSL https://raw.githubusercontent.com/insanoid/GithubActionsAI/master/install.sh | GITHUB_TOKEN=ghp_xxx bash -s ci

Or manually: download the .vsix from Releases, then run cursor --install-extension github-ai-actions-*.vsix.

Setup

  1. Open a project that has a GitHub remote
  2. Sign in when prompted (uses VS Code's built-in GitHub auth)
  3. Open the Source Control sidebar -- "GitHub Actions" section appears automatically

Usage

Action How
See CI status Check the status bar (bottom left)
Browse runs/jobs/steps Source Control sidebar > GitHub Actions
View a step's log Click the log icon on any step or job
Send failure to AI Click the chat icon on a failed step
Feed all errors to AI Click the zap icon in the view title bar
Open on GitHub Click the link icon on any run or job
Re-run a workflow Right-click a workflow run
Force refresh Click the refresh icon in the view title

Settings

Setting Default Description
ghActionsStatus.pollingInterval 30 Seconds between polls while CI is running
ghActionsStatus.pollingIntervalIdle 120 Seconds between polls when idle
ghActionsStatus.maxRuns 10 Number of workflow runs to show
ghActionsStatus.showStatusBar true Show/hide the status bar item

Development

npm install
npm run watch
# F5 to launch Extension Development Host
npm run package  # build .vsix
cursor --install-extension *.vsix

Release

npm run release:patch  # 0.1.0 → 0.1.1
npm run release:minor  # 0.1.0 → 0.2.0

Pushing a v* tag triggers the release workflow which builds a .vsix and creates a GitHub Release.

About

View Github actions in your IDE and feed failures to agent chat to fix.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors