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 with default values to the shared workflow, then the inputs 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.
Run googleapis/release-please-action@v4
Running release-please version: 16.12.0
❯ Fetching release-please-config.json from branch release-please
❯ Fetching .release-please-manifest.json from branch release-please
(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.
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.