The eng-common sync pipeline fails to merge the PR
raych1 opened this issue · comments
Ray Chen commented
The merge step fails due to the following error:
Merging https://api.github.com/repos/Azure/azure-sdk-for-android/pulls/1571
##[error]Invoke-RestMethod [https://api.github.com/repos/Azure/azure-sdk-for-android/pulls/1571/merge] failed with exception:
The given key 'Content-Type' was not present in the dictionary.
##[error]PowerShell exited with code '1'.
Here is the pipeline run triggered by this PR. I had to manually merge all the sync PRs. I noticed that the previous run of the sync pipeline already had this issue and the PR author had to merge the PR manually.
I met this issue previously when doing the Go SDK release and made a fix to the common script by this PR. The same fix should be applied to the sync script.
Wes Haggard commented
Thanks for reporting I've seen this error once before but not sure what causes it. I think this process does still work in general though. I'll keep an eye on this the next eng/common sync I see.