Open getdave opened 6 months ago
@gziolo Do you have any idea about this one?
cc @youknowriad for information.
Actually, it's @adamziel who authored the script, so he would be a better person to help here.
I'm as surprised as you @getdave as this never came up for me before. It seems like we may need a better method than relying on merge_commit_sha
indeed.
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.