-
Hi! I’ve got an action that runs a tool that is configured via a YAML file. At the moment the action provides a default YAML config file and allows users to overwrite a few specific configuration options via action inputs. However, given that it’s not feasible to create an input for every possible configuration option, I would like to let users somehow provide YAML data that would be then merged with the default config using How can I let users provide this custom YAML config? Not sure how much it matters, but my action uses a Dockerfile. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Looks like actions have access to files in the repo, so one can add a file to the repo and then access it e.g. in |
Beta Was this translation helpful? Give feedback.
-
Hi, I would be also interested in yaml inputs of actions, but your solution isn’t better than my current workaround This would be great if it would work
My current workaround is:
I get trouble once BTW actions runner currently allows unknown inputs of actions, this means you can pass arbitary yaml inputs in the input dictionary of |
Beta Was this translation helpful? Give feedback.
Looks like actions have access to files in the repo, so one can add a file to the repo and then access it e.g. in
entrypoint.sh
script.