lazyactions

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 0 Imported by: 0

README

lazyactions

A lazygit-style TUI for GitHub Actions. Monitor workflows, view logs, and manage runs from your terminal.

Prerequisites

  • Go 1.21 or later
  • GitHub CLI (gh) installed and authenticated, OR a GitHub token

Installation

From Source
git clone https://github.com/nnnkkk7/lazyactions.git
cd lazyactions
make build

The binary will be created at ./bin/lazyactions.

Go Install
go install github.com/nnnkkk7/lazyactions/cmd/lazyactions@latest

Authentication

lazyactions uses the following authentication methods (in order of priority):

  1. GitHub CLI (Recommended): If you have gh installed and authenticated, no configuration needed.

    gh auth login
    
  2. Environment Variable: Set GITHUB_TOKEN with a personal access token.

    export GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxx
    

    Required token scopes: repo, workflow

Usage

Navigate to any directory within a GitHub repository and run:

lazyactions

Or specify a path:

lazyactions /path/to/repo

Keybindings

Key Action
j / Move down
k / Move up
h / Move to left pane
l / Move to right pane
Tab Next pane
Shift+Tab Previous pane
Enter Select / Expand
t Trigger workflow
c Cancel run
r Rerun workflow
R Rerun failed jobs
y Copy URL to clipboard
/ Filter
Ctrl+r Refresh
L View full log
? Help
q Quit
Esc Back / Clear filter

Development

Build
make build
Run Tests
make test
Run Tests with Coverage
make cover
Lint
make lint
Full CI Che
make ci

Project Structure

lazyactions/
├── cmd/lazyactions/    # Entry point
├── app/                # TUI application (BubbleTea)
├── github/             # GitHub API client
├── auth/               # Authentication (SecureToken)
├── repo/               # Repository detection
└── docs/               # Design documents

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package app provides the TUI application for lazyactions.
Package app provides the TUI application for lazyactions.
Package auth provides GitHub authentication functionality.
Package auth provides GitHub authentication functionality.
cmd
lazyactions command
Package main is the entry point for lazyactions.
Package main is the entry point for lazyactions.
Package github provides sanitization utilities for log content.
Package github provides sanitization utilities for log content.
Package repo provides repository detection and validation functionality.
Package repo provides repository detection and validation functionality.
test
integration
Package integration provides integration tests for lazyactions TUI application.
Package integration provides integration tests for lazyactions TUI application.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL