Hey @Gpark!
Thanks for the message and welcome to the community!
The TL;DR is that you’d need to use the buildkite-agent meta-data
command in order to get the value of the action
, then determine the next steps accordingly.
You could use a command following the above in order to upload another pipeline file, or pipe in a step in a dynamic fashion.
For a little more context on the above as well as previous discussion on this issue and the potential solutions I’d recommend reading through this post: Meta-data in conditional clause - #6 by sj26
Cheers!