act3

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 1 Imported by: 0

README

act3

✨ Overview

Glance at the results of the last 3 runs of your Github Actions.

Usage

💾 Installation

go:

go install github.com/dhth/act3@latest

⚡️ Usage

Create a config file that looks like the following (the default location act3) will look for this file is ~/.config/act3/act3.yml.

workflows:
- id: ABC
  repo: dhth/outtasync
  name: release
- id: XYZ
  repo: dhth/ecsv
  name: release
  key: key-will-supersede repo/name in the output
- id: EFG
  repo: dhth/cueitup
  name: release

You can find the ID for your workflow as follows:

curl -L \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer <YOUR_GH_TOKEN>" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  https://api.github.com/repos/OWNER/REPO/actions/workflows/<WORKFLOW_FILE>

# use node_id from the response
ACT3_GH_ACCESS_TOKEN="<YOUR_GH_TOKEN> \
act3"

Acknowledgements

act3 is built using the TUI framework bubbletea.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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