- Published on
GitHub Actions for VS Code extension
- Authors
- Name
- Christopher Schleiden
- @cschleiden
I've always been a fan of VS Code's extensibility model. There a great docs and examples, and overall the development experience is very nice. So when the new GitHub Actions API came out, I started building an extension utilizing that to show GitHub Actions workflows and runs for your current repository in VS Code.
The extension checks the current workspace for git repositories with an origin
of github.com
. If it finds that, it uses the API to retrieve workflows and their runs.
You can then see whether a run failed or succeeded, for what commit it was run, what event triggered it, and re-run or cancel if it failed or is in-progress.
I have a few more things in mind to add in the future, but for now you can install the extension from the marketplace:
https://marketplace.visualstudio.com/items?itemName=cschleiden.vscode-github-actions
and the code is available at