Merge "Fix github app authentication in _getNeededByFromPR" into feature/zuulv3
This commit is contained in:
commit
6aa1729626
|
@ -718,7 +718,8 @@ class GithubConnection(BaseConnection):
|
|||
change.project.name,
|
||||
change.number)
|
||||
query = '%s type:pr is:open in:body' % pattern
|
||||
github = self.getGithubClient()
|
||||
# FIXME(tobiash): find a way to query this for different installations
|
||||
github = self.getGithubClient(change.project.name)
|
||||
for issue in github.search_issues(query=query):
|
||||
pr = issue.issue.pull_request().as_dict()
|
||||
if not pr.get('url'):
|
||||
|
|
Loading…
Reference in New Issue