Interview Prep/GitHub Actions/Deployments, Environments & Releases

Release notes generated by `--generate-notes` include unrelated commits from months ago.

IntermediateTroubleshootingDeployments, Environments & Releases
Answer

Likely causes → The previous tag is not found (shallow checkout irrelevant here, but tag naming changed, for example release-1.3 vs v1.3.0), so GitHub compares against an older tag.

Diagnose → gh release list and compare tag patterns.

Fix → Pass --notes-start-tag v1.3.0 explicitly.

Prevent → Keep a consistent tag scheme and configure .github/release.yml categories.

All GitHub Actions questions Roadmap: GitHub Actions

More on Deployments, Environments & Releases