We would like to use this action on many different repos with the same configuration, so it would be nice to define the configuration in a common location and reuse it.
An example is this action: https://github.com/release-drafter/release-drafter#configuration-options (look at the paragraph after the table of options that mentions Probot config).
In that case, we are able to put configuration files in a separate repo, and each repo using the action can get its config from there.
Perhaps a simple way could be to allow the configuration_path to accept a URL returning the configuration, or for private repos, providing the repo and filepath in that repo, an appropriate access token, and using the GitHub API to extract file contents.
If you would accept a PR, I might have a go.
We would like to use this action on many different repos with the same configuration, so it would be nice to define the configuration in a common location and reuse it.
An example is this action: https://github.com/release-drafter/release-drafter#configuration-options (look at the paragraph after the table of options that mentions Probot config).
In that case, we are able to put configuration files in a separate repo, and each repo using the action can get its config from there.
Perhaps a simple way could be to allow the
configuration_pathto accept a URL returning the configuration, or for private repos, providing the repo and filepath in that repo, an appropriate access token, and using the GitHub API to extract file contents.If you would accept a PR, I might have a go.