summaryrefslogtreecommitdiff
path: root/zuul/manager/independent.py
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/manager/independent.py')
-rw-r--r--zuul/manager/independent.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/zuul/manager/independent.py b/zuul/manager/independent.py
index 65f5ca070..0c2baf010 100644
--- a/zuul/manager/independent.py
+++ b/zuul/manager/independent.py
@@ -70,6 +70,9 @@ class IndependentPipelineManager(PipelineManager):
self.log.debug("Checking for changes needed by %s:" % change)
# Return true if okay to proceed enqueing this change,
# false if the change should not be enqueued.
+ if (hasattr(change, 'commit_needs_changes') and
+ (change.refresh_deps or change.commit_needs_changes is None)):
+ self.updateCommitDependencies(change, None)
if not hasattr(change, 'needs_changes'):
self.log.debug(" %s does not support dependencies" % type(change))
return True