worlddriven icon indicating copy to clipboard operation
worlddriven copied to clipboard

Github error regarding status check

Open TooAngel opened this issue 5 years ago • 0 comments

Some pull requests weren't merged because of following error. In the GitHub webinterface the status checks were set and green, I will disable the required status check for now.

2020-10-09T06:24:08.666212+00:00 app[web.1]: 2020-10-09 06:24:08,665 PullRequest(title="Add issue templates", number=191)
2020-10-09T06:24:08.666224+00:00 app[web.1]: Traceback (most recent call last):
2020-10-09T06:24:08.666225+00:00 app[web.1]: File "/app/src/PullRequest.py", line 131, in check_for_merge
2020-10-09T06:24:08.666226+00:00 app[web.1]: self.pull_request.merge()
2020-10-09T06:24:08.666227+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/github/PullRequest.py", line 866, in merge
2020-10-09T06:24:08.666227+00:00 app[web.1]: "PUT", self.url + "/merge", input=post_parameters
2020-10-09T06:24:08.666227+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/github/Requester.py", line 319, in requestJsonAndCheck
2020-10-09T06:24:08.666228+00:00 app[web.1]: verb, url, parameters, headers, input, self.__customConnection(url)
2020-10-09T06:24:08.666228+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/github/Requester.py", line 342, in __check
2020-10-09T06:24:08.666228+00:00 app[web.1]: raise self.__createException(status, responseHeaders, output)
2020-10-09T06:24:08.666229+00:00 app[web.1]: github.GithubException.GithubException: 405 {"message": "Required status check \"ci/circleci: test\" is expected.", "documentation_url": "https://docs.github.com/articles/about-protected-branches"}

TooAngel avatar Oct 09 '20 06:10 TooAngel