Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow inputing config-name file contents #1338

Open
ksolie opened this issue Apr 14, 2023 · 2 comments
Open

Allow inputing config-name file contents #1338

ksolie opened this issue Apr 14, 2023 · 2 comments

Comments

@ksolie
Copy link

ksolie commented Apr 14, 2023

If my workflow requires multiple release-drafter configs that are dependent on the contents of the repo, I want to dynamically supply those as a config-name parameter. This will help not having to create/delete files in the .github directory as new configs are necessary. It would nice to input the config file as text or be able to write the config during the workflow run.

@ksolie ksolie changed the title Allow manually inputing config-name file contents Allow inputing config-name file contents Apr 14, 2023
@ksolie
Copy link
Author

ksolie commented Apr 14, 2023

An example repo that has several drafter files that could be created during the workflow so if a new service gets added, you don't have to worry about the config files:
https://github.com/guardrail-dev/guardrail/tree/master/.github

@mrfelton
Copy link

+1 to this. Currently any release drafter config - even one supplied to the action through config-name property - needs to exist on the default branch in order to be usable. That prevents the possibility of creating the release drafter config dynamically at run time.

My use case is similar to as described in #336 (comment) - I want to set include-paths dynamically at run time. Currently this doesn't seem possible since I can't create a dynamic release drafter config and I can't override include-paths on the action config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants