diff --git a/src/tinuous/circleci.py b/src/tinuous/circleci.py index 2bce8e7..78cb9f1 100644 --- a/src/tinuous/circleci.py +++ b/src/tinuous/circleci.py @@ -143,6 +143,9 @@ def get_build_assets( else: raise AssertionError(f"Unhandled EventType: {run_event!r}") for wf in workflows: + if wf.status is WorkflowStatus.NOT_RUN: + log.info("Workflow %r not run; skipping", wf.name) + continue for job in self.get_jobs(wf.id): if job.job_number is None: # This can happen if the job was cancelled.