Manage your github actions with git cli
- Simplify access to your workflows
- Keep fokus on your work
Generate a token here : https://github.com/settings/tokens (You need to be loged in)
To export the Github username and organisation is optional.
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
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 is not implemented yet. But I'm working on it. Pullrequests wellcome.
cd /path/to/your/repo
git action status
cd /path/to/your/repo
git action run
See help for all flags and options