Hello. I am working on a GH actions workflow to ru...
# ask-metaflow
b
Hello. I am working on a GH actions workflow to run new/modified flows in a given pull request. A PR may contain multiple flows but my org has them designated in their own directories for organizational purposes. I was wondering if there was a best practice for building execution commands for flows that may vary in different
Parameters
? Like one flow may contain a
secret_name
parameter and another may contain several parameters like
alpha
and
beta
for example. While we can designate default values to these in the actual flow file, we may want to pass in different values for a test/CI environment. Right now the only idea I had would be to include some CI config YAML or TOML file in the flow's directory containing the parameters and the desired values but parsing these can get messy. Any best practices/suggestions?
βœ… 1
a
Hi Zander, we can help you in our private channel #C07NTJUN553. Let me ping you there.
πŸ‘ 1
d
Use Configs :).
πŸ‘€ 1
Recently introduced. Can exactly do this. Not published yet but there already, you can also dynamically insert parameters based on the config.
(Ie: not just the default value). It’s a bit trickier to use because you may or may not have the parameter in the code but may be whr you are looking for.
(For others not in the aforementioned channel).