-
Is it possible to create an action that will run a set of earlier actions? In the same way that It's not too useful on the job server because you can easily click all the relevant actions, but when running locally via |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Before the run_all:
needs: [run_model, extract_data]
run: cohortextractor:latest --version
outputs:
moderately_sensitive:
whatever: project.yaml This could be re-purposed -- just put all the relevant actions in the |
Beta Was this translation helpful? Give feedback.
-
@wjchulme You can supply multiple action names to |
Beta Was this translation helpful? Give feedback.
Before the
run_all
action was a built-in feature ofopenssafely run
, it was defined explicitly in theproject.yaml
as follows:This could be re-purposed -- just put all the relevant actions in the
needs:
section. You still need to have the action itself do something, hence thecohortextractor:latest --version
. And since each action also needs to output something, thewhatever: project.yaml
is also necessary, but ignorable.