github-actions.vim provides a convenient way to view and interact with GitHub Actions directly in vim.
github-actions-v1.0.0.mov
- Vim 9.0+
- The
ghCLI tool must be installed and authenticated. You can install it from GitHub CLI.
- Lists GitHub Actions workflows for the current repository.
- Allows you to open workflow details in your default browser.
- Toggle the GitHub Actions sidebar on and off.
:GithubActionsOpens/toggles the GitHub Actions popup
Number keysOpen workflow listed with the given numberEnteron a workflow line to open the workflow in your default browser.BackspaceGo back to previous page contentoOpen whats under the cursor in GitHub (Workflow, Workflow run)wOpen workflow file in the last active buffer
You can customize the behavior of the plugin using the following global variables:
Specifies the side of the window where the GitHub Actions sidebar will open.
Possible values: 'left' (default) or 'right'.
Example:
let g:github_actions_window_side = 'right'Specifies the width of the GitHub Actions sidebar buffer.
Default: 50.
Example:
let g:github_actions_window_size = 40-
Error: Unable to fetch workflows. Ensure the gh CLI is authenticated. Ensure that the
ghCLI is installed and authenticated with your GitHub account. -
Not a GitHub repository The plugin only works in directories that are Git repositories hosted on GitHub.
This plugin is open-source and available under the MIT License.
Enjoy using github-actions.vim! 🎉