Open
Description
During Cherry Picing for WP 6.5 Beta 3 the npm run other:cherry-pick
script kept failing with:
Error: Cannot fetch the merge commit sha for #XXXXX
The API request is to https://api.github.com/repos/wordpress/gutenberg/pulls/XXXX
.
I check the code and it will fail if merge_commit_sha
is not in the response.
Performing this manually using a REST client, I could see that merge_commit_sha
was included in the response. So for some reason when running using the script it doesn't include that field for certain PRs.
It seems this field may have been deprecated so we may need to find a better method.