git-action

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: MIT

README

git-action

Manage your github actions with git cli

GitHub go.mod Go version GitHub top language GitHub Workflow Status GitHub MIT license Swiss made

Why

  • Simplify access to your workflows
  • Keep fokus on your work

Screenshot

Installation

Generate a token here : https://github.com/settings/tokens (You need to be loged in)

To export the Github username and organisation is optional.

Mac
echo 'export GITHUB_TOKEN="XXXXXXXXXXXXXXXXXXXXXXX"' >> ~/.zshrc
echo 'export GITHUB_USERNAME="change-me-to-your-username"' >> ~/.zshrc
echo 'export GITHUB_ORGANISATIONS="klustair,kubernetes"' >> ~/.zshrc
curl https://raw.githubusercontent.com/mms-gianni/git-action/master/cmd/git-action/git-action.mac.64bit -o /usr/local/bin/git-action
chmod +x /usr/local/bin/git-action
Linux
echo 'export GITHUB_TOKEN="XXXXXXXXXXXXXXXXXXXXXXX"' >> ~/.bashrc
echo 'export GITHUB_USERNAME="change-me-to-your-username"' >> ~/.bashrc
echo 'export GITHUB_ORGANISATIONS="klustair,kubernetes"' >> ~/.bashrc
curl https://raw.githubusercontent.com/mms-gianni/git-action/master/cmd/git-action/git-action.linux.64bit -o /usr/local/bin/git-action
chmod +x /usr/local/bin/git-action
Windows

Windows is not implemented yet. But I'm working on it. Pullrequests wellcome.

Quick start

Show list of workflow runs
cd /path/to/your/repo
git action status
Trigger a workflow
cd /path/to/your/repo
git action run

See help for all flags and options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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