Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

cschleiden/vscode-github-actions

Repository files navigation

2023-03-28: The extension is now an official part of the product 🎉

Get it here: https://marketplace.visualstudio.com/items?itemName=github.vscode-github-actions

Find the latest code: https://github.com/github/vscode-github-actions


GitHub Actions for VS Code

Build

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

Setup

  1. Install the extension from the Marketplace

  2. Open a repository with a github.com origin git remote

  3. When prompted, allow GitHub Actions access to your GitHub account:

    Sign in via Accounts menu

Features

The extension provides a convenient way to monitor workflows and workflow runs from VS Code as well as language-server features for editing workflow YAML files.

Auto-complete and documentation

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

Workflow auto-complete

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

Actions auto-complete

Auto-completion and validation of labels for hosted and self-hosted runners:

Auto-complete runner label

Expressions auto-complete

Auto-completion, validation, and evaluation of expressions:

Auto-complete and evaluation of expressions

Auto-complete and validate all webhook event payloads:

Auto-complete github event expressions

Monitor workflow runs

See runs for workflows in the repository, drill into jobs and steps, and inspect logs:

See workflows and runs for the current repository

Other features

  • Trigger repository_dispatch or workflow_dispatch workflow runs
  • View registered self-hosted runners and environments for the current repository
  • View, edit, and add secrets
  • Pin workflow to the VS Code status bar