- Install the github-cli
- Run
gh extension install stssk/gh-approve
- run 'cd gh-approve; gh extension install .; gh approve' to see your new extension in action
- run 'go build && gh approve' to see changes in your code as you develop
For more information on writing extensions: https://docs.github.com/github-cli/github-cli/creating-github-cli-extensions
To read about the GitHub API: https://docs.github.com/en/rest/quickstart