Cherry Pick script fails on missing merge_commit_sha
in Github API response
#59398
Labels
Gutenberg Plugin
Issues or PRs related to Gutenberg Plugin management related efforts
[Type] Bug
An existing feature does not function as intended
During Cherry Picing for WP 6.5 Beta 3 the
npm run other:cherry-pick
script kept failing with: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.
The text was updated successfully, but these errors were encountered: