You've just shipped a feature. CI is green, tests pass, deployment is live. Then reality hits: you need to write release notes. Context switching from building to documenting is brutal. You're staring at a blank doc trying to reconstruct what you built 3 days ago from commit messages like fix: lol and wip: might work . Release notes become an afterthought β too tedious to sustain when shipping daily. What if you could automate this in 5 minutes? This tutorial shows you how to fetch your GitHub commits and use OpenAI to generate polished, user-friendly release notes automatically. What We're Building A script that: Fetches recent commits from your GitHub repo Sends them to OpenAI GPT-4o-mini Returns clean, formatted release notes in multiple tones No complex setup. Just something you can run locally or drop into your CI/CD pipeline.β¦