{
  "id": 21742584,
  "title": "Squash merges: semantic-release reads the PR title, not your commits",
  "url": "https://urgent.news/2026/11/25/squash-merges-semantic-release-reads-the-pr-title-not-your-commits",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-25T05:40:17.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/roalcantara/squash-merges-semantic-release-reads-the-pr-title-not-your-commits-2g1i"
  },
  "original_language": "en",
  "account": "Semantic-release analyzes pull request titles, not individual commits, when creating release notes. Squashing multiple commits into a single GitHub merge commit means semantic-release reads the PR title, ignoring the individual commits within. This can lead to missed releases if the PR title doesn't follow semantic-release's versioning rules. To ensure proper releases, maintain a consistent commit format in CONTRIBUTING.md, configure semantic-release with the conventionalcommits preset, and use a pinned semantic-release version in the GitHub workflow. After merging, review the release log to verify that all commits have been accounted for in the changelog.",
  "summary": "If you write Conventional Commits and let semantic-release cut your versions, the commit subject is the whole contract: feat: bumps the minor version, fix: the patch, and each subject becomes a changelog line. Squash-merge a pull request with two or more commits, and GitHub writes one commit titled after the pull request . That title is all semantic-release reads: the commits listed in its body…",
  "key_points": [
    "Semantic-release uses PR titles, not commit details, for release notes",
    "Squashing commits into a single merge commit affects release tracking",
    "Proper commit format, conventionalcommits preset, and pinned version prevent release errors"
  ],
  "editors_take": "Shifting the automation focus from individual commits to pull request titles creates a dependency on standardized naming conventions to prevent broken versioning cycles during the squash and merge process.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}