Skip to content

Commit

Permalink
fixes GitHub status 403 error
Browse files Browse the repository at this point in the history
  • Loading branch information
hcwiley committed Nov 17, 2016
1 parent 5f980ec commit ba80bb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion master/buildbot/reporters/github.py
Expand Up @@ -50,7 +50,10 @@ def reconfigService(self, token,
baseURL = baseURL[:-1]

self._http = yield httpclientservice.HTTPClientService.getService(
self.master, baseURL, headers={'Authorization': 'token ' + token})
self.master, baseURL, headers={
'Authorization': 'token ' + token,
'User-Agent': 'buildbot'
})
self.verbose = verbose

def createStatus(self,
Expand Down

0 comments on commit ba80bb7

Please sign in to comment.