A simple approach to re-writing the Summary and Description of a Github commit using AI.
This is very helpful when you have a large number of commits and you want to summarise them in a more human readable format, or are a solo developer that wants to ensure things are documented well.
For an example - see my commit history.
- Github Workflow
- API Key for either Claude AI, Google Gemini or OpenAI
- Add the appropriate API Key to your Github repository secrets:
ANTHROPIC_API_KEY
for Claude AIGOOGLE_API_KEY
for Google GeminiOPENAI_API_KEY
for OpenAI
- Create a new Github Workflow folder in your repository:
.github/workflows
- Copy the appropriate
commit-ai-summarise.yml
file this folder - Commit and push the changes to your repository
Watch the magic happen .oO(✨)
- Ensures a projects commit history is well documented
- Build consistent style of commit messages across your organization
- If you are a solo developer, ensure that you have a good summary of your work
Drew Broadley [email protected]
This project is licensed under the MIT License - see the LICENSE file for details