Skip to content

Commit

Permalink
Fix workflow resources for branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jun 8, 2024
1 parent 83d9023 commit a179eae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions law/workflow/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,9 @@ def process_resources(self):
Method used by luigi to define the resources required when running this task to include into
scheduling rules when using the central scheduler.
"""
if self.is_branch():
return super(BaseRemoteWorkflow, self).process_resources()

resources = self.workflow_proxy.process_resources()
if self.include_member_resources:
resources.update(self.resources)
Expand Down

0 comments on commit a179eae

Please sign in to comment.