git-action
Manage your github actions with git cli

Why
- Simplify access to your workflows
- Keep fokus on your work

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