burberger / vscode-github-actions

Simple, unofficial extension to view GitHub Actions workflows and runs in VS Code

Home Page:https://marketplace.visualstudio.com/items?itemName=cschleiden.vscode-github-actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Actions for VS Code

GitHub Workflow Status

Simple, unofficial extension to interact with GitHub Actions from within VS Code.

Installation

  1. Install extension
  2. Open a repository with a github.com origin
  3. When prompted, allow GitHub Actions to access your github account

Features

Auto-complete and documentation

No additional YAML extension needed, this extension includes a built-in language server with full support for the workflow schema.

Workflow auto-complete

Auto-complete actions parameters

Auto-completion and validation for every action you reference in uses:

Actions auto-complete

Auto-complete runner label

Auto-complete runner label

Smart auto-complete and evaluation of expressions

Auto-complete and evaluation of expressions

Auto-complete and validate github event expressions

The extension knows about all the webhook payloads and suggests and auto-completes event payload fields

Auto-complete github event expressions

View workflows for the currently opened repository

See workflows and runs for the current repository

View workflow runs and their status

View workflows and their status

Inspect logs to see failures

Display logs for workflow runs

Colored logs

Trigger runs

If a workflow uses repository_dispatch as a trigger, you can start a new workflow run from the workflow context menu:

Or from the workflow list:

Or from the editor when editing a workflow:

Pin workflows and see their status updated automatically

You can pin workflows to the status bar per workspace, and automatically see the status of the most recent run. For example, to see if the change you just pushed passes the CI Build:

  1. To setup, configure the "github-actions.workflows.pinned.workflows" property on a global level, or per workspace (.vscode/settings.json):
{
    "github-actions.workflows.pinned.workflows": [".github/workflows/build.yml", ".github/workflows/create.yml"],
}
  1. To enable auto-refresh via polling, set refresh.enabled to true. This works by polling the workflow runs API with a default interval of 30 seconds. You can customized the interal via refresh.interval:
{
    "github-actions.workflows.pinned.workflows": [".github/workflows/build.yml", ".github/workflows/create.yml"],
    "github-actions.workflows.pinned.refresh.enabled": true,
    "github-actions.workflows.pinned.refresh.interval": 65,
}

Known issues

About

Simple, unofficial extension to view GitHub Actions workflows and runs in VS Code

https://marketplace.visualstudio.com/items?itemName=cschleiden.vscode-github-actions

License:MIT License


Languages

Language:TypeScript 97.7%Language:JavaScript 2.3%