summaryrefslogtreecommitdiff
path: root/zuul/driver/github/githubsource.py
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-01-16 21:49:45 +0000
committerGerrit Code Review <review@openstack.org>2018-01-16 21:49:45 +0000
commit5a617de4df8cc0af9a17599cb6704777fda2823b (patch)
tree51b14d4d5fc4c93502332d068a0a2b142a7e14b6 /zuul/driver/github/githubsource.py
parentf3cbf7b138ace8f504c892ecf18096366eed753a (diff)
parent54145e0fd9813c417f57de602201eaf9da16f2a2 (diff)
downloadzuul-5a617de4df8cc0af9a17599cb6704777fda2823b.tar.gz
Merge "Add cross-source tests" into feature/zuulv3
Diffstat (limited to 'zuul/driver/github/githubsource.py')
-rw-r--r--zuul/driver/github/githubsource.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/zuul/driver/github/githubsource.py b/zuul/driver/github/githubsource.py
index 9834727d7..33f8f7cae 100644
--- a/zuul/driver/github/githubsource.py
+++ b/zuul/driver/github/githubsource.py
@@ -46,6 +46,8 @@ class GithubSource(BaseSource):
if not change.number:
# Not a pull request, considering merged.
return True
+ # We don't need to perform another query because the API call
+ # to perform the merge will ensure this is updated.
return change.is_merged
def canMerge(self, change, allow_needs):