Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The eng-common sync pipeline fails to merge the PR

raych1 opened this issue · comments

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.

@weshaggard

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.