Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix issue when creating PR to update homebrew formula #95

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

hnrkndrssn
Copy link
Contributor

There was an issue with how the body was being passed to GitHub

InvalidOperation: Response status code does not indicate success: 400 (Bad Request). 
September 30th 2022 14:20:47Error
At /home/Octopus/Work/20220930042032-4232676-7759/Script.ps1:47 char:5 
September 30th 2022 14:20:47Error
+     Invoke-RestMethod -Method POST ` 
September 30th 2022 14:20:47Error
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
September 30th 2022 14:20:47Error
at <ScriptBlock>, /home/Octopus/Work/20220930042032-4232676-7759/Script.ps1: line 47 
September 30th 2022 14:20:47Error
at <ScriptBlock>, <No file>: line 1 
September 30th 2022 14:20:47Error
at <ScriptBlock>, /home/Octopus/Work/20220930042032-4232676-7759/Octopus.FunctionAppenderContext.ps1: line 211 
September 30th 2022 14:20:47Error
at <ScriptBlock>, /home/Octopus/Work/20220930042032-4232676-7759/Bootstrap.Octopus.FunctionAppenderContext.ps1: line 1708 
September 30th 2022 14:20:47Error
at <ScriptBlock>, <No file>: line 1 
September 30th 2022 14:20:47Error
at <ScriptBlock>, <No file>: line 1 
September 30th 2022 14:20:47Error
{"message":"Problems parsing JSON","documentation_url":"https://docs.github.com/rest/reference/pulls#create-a-pull-request"} 

@hnrkndrssn hnrkndrssn self-assigned this Sep 30, 2022
@hnrkndrssn hnrkndrssn requested a review from a team September 30, 2022 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants