summaryrefslogtreecommitdiff
path: root/zuul/driver/github/githubsource.py
diff options
context:
space:
mode:
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):