mms-gianni / git-action

Manage yout Github Actions with your git cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Manage yout Github Actions with your git cli

License:MIT License


Languages

Language:Go 93.4%Language:Makefile 6.6%