Feature Request: support fetching release-please-config.json from the file system #1017
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
We are using shared workflow as an wrapper for the workflow for easy maintenance and upgrade. Back in v3 of the workflow, we can provide
inputs
withdefault
values to the shared workflow, then theinputs
can be modified per repository when necessary. Basically, we have a shared config with default settings and the option to modify during runtime:In v4, since all advanced configurations now require a config file, we are trying to dynamically generate the config file during runtime, with the above configurations roughly converted to:
However, this does not work for v4, because the action is always trying to fetch the
release-please-config.json
file from the source repository and branch. The file in the file system will get ignored.(GitHub Actions logs showing the action is trying to fetch the .json files from the git repository and branch)
Describe the solution you'd like
the config file can be fetched from the file system or the git source
Describe alternatives you've considered
The only alternative is to add
release-please-config.json
to each repository we use the action, this will cause duplicate code and make the configurations difficult to maintain.The text was updated successfully, but these errors were encountered: