Skip to content

Fix: extract PR numbers using GitHub API - #37360

Closed
sfreudenthaler wants to merge 1 commit into
mainfrom
fix-release-scripts-pr-extraction
Closed

Fix: extract PR numbers using GitHub API#37360
sfreudenthaler wants to merge 1 commit into
mainfrom
fix-release-scripts-pr-extraction

Conversation

@sfreudenthaler

Copy link
Copy Markdown
Member

Closes #37201.

Replaces the regex extraction with direct GitHub API calls (GET /repos/{owner}/{repo}/commits/{sha}/pulls) to ensure PR numbers are fetched robustly, especially when merge strategies like non-squash commits are used.

@sfreudenthaler
sfreudenthaler requested a review from a team as a code owner September 3, 2026 01:43
@sfreudenthaler sfreudenthaler added Team : Enablement PR : dotbot review Trigger dotbot AI code review on this PR labels Sep 3, 2026
@sfreudenthaler

Copy link
Copy Markdown
Member Author

Closing as this is a duplicate of #37213 which was already merged into main. I branched off an outdated commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR : dotbot review Trigger dotbot AI code review on this PR Team : Enablement

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Release notes & QA status: replace (#N) squash-subject regex with commits→PRs API

1 participant