Merged release PRs create no release under REST API version 2026-03-10
Author: drptblCreated Sep 13, 2026Updated Sep 16, 2026
Labelstype: bugpriority: p3
Environment details
- OS:
ubuntu-latestGitHub Actions runner - Node.js version: 24, through
googleapis/[email protected] - npm version: none, release-please runs inside the action
release-pleaseversion: 17.11.2
Steps to reproduce
- Read a merged release PR with REST API version
2026-03-10.gh api -H 'X-GitHub-Api-Version: 2026-03-10' repos/googleapis/release-please/pulls/2888returns nomerge_commit_sha, and2022-11-28returns05c6a4f71022304d4edad24ea90c1c16324503d5. GitHub removed the field in that version: https://docs.github.com/en/rest/about-the-rest-api/breaking-changes?apiVersion=2026-03-10 - release-please lists merged release PRs over REST and takes their
shafrommerge_commit_sha: https://github.com/googleapis/release-please/blob/v17.11.2/src/manifest.ts#L1146-L1153 https://github.com/googleapis/release-please/blob/v17.11.2/src/github-api.ts#L405 - Without a
sha,buildReleaselogsPull request should have been mergedand creates no tag or release, and the run still ends green: https://github.com/googleapis/release-please/blob/v17.11.2/src/strategies/base.ts#L602-L605
Source: googleapis/release-please