GitHub productivity tools
- gh-purge-artifacts Purge GitHub Actions artifacts across GitHub repositories
- gh-go-rdeps Find reverse Go dependencies across GitHub repositories
- gh-find Walk file hierarchies across GitHub repositories
- gh-pr Automate PR creation across GitHub repositories
- gh-watch Manage notification subscriptions across GitHub repositories
All tools require a GitHub personal access token in order to authenticate API requests and use following methods, in the order of precedence, to infer/set the token:
-
-tokenflag, in which case the user will be asked to enter the token interactively -
GHTOOLS_TOKENenvironment variable -
GITHUB_TOKENenvironment variable -
~/.config/gh-tools/auth.ymlfile, containing the tokenoauth_token: <token>
-
GitHub's official CLI tool
ghconfiguration file, to avoid creating separate personal accesss tokens
Here's how you can create a personal access token.
Your personal access token may need the following scopes to use gh-tools:
repoworkflowread:user
The explicit worklow scope is requred if you want to be able to make changes to GitHub Actions workflow files with gh-pr tool.
