Is there any way to specify to exit the workflow if specific conditions are met by skipping the following steps?
I could not find any command that will do the abovementioned task in the documentation. I am looking for something similar to
exit() in python.
This would be very tedious to apply in my case. Can we somehow use this conditional to specify run only if a certain input file exists?
You could have an optional input and test for it’s existence in the
when: $(inputs.my_opt_file === null) but I haven’t tested that.