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

PR templates - support for inputs #678

Open
Martin-Suska opened this issue Jul 4, 2022 · 1 comment
Open

PR templates - support for inputs #678

Martin-Suska opened this issue Jul 4, 2022 · 1 comment

Comments

@Martin-Suska
Copy link

Hi,

This is a request for a feature:
I'd like to have a possibility to specify a fields, that needs to be/or can be entered easily in a PR template.

For example, I want a developer to link a Jira issue in a PR it is related to (we have it in commit, ideally in each one, but it easier to have it in PR description).

So similarly to simple checkbox, I'd like to have easy way in "Preview" tab for PR authors to enter required inputs.

Jira issue: {TODO}

Maybe a first version might be as simple as this: the text between {} will be replaced (so it will work first time only) on first edit, Maybe someone could extend this for edits.

Also I'd like to have an option to mark it mandatory, for example

Jira issue: {*TODO}

might be a version for mandatory input, so only draft PR can be created if not filled in.

Thanks!

@Martin-Suska
Copy link
Author

If someone can point me directly where checkboxes ([ ] in markdown) are handled, maybe I can implement it and create a PR.

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

1 participant