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

Add support for prepared message templates #1865

Open
RalfJung opened this issue Dec 6, 2024 · 2 comments
Open

Add support for prepared message templates #1865

RalfJung opened this issue Dec 6, 2024 · 2 comments

Comments

@RalfJung
Copy link
Member

RalfJung commented Dec 6, 2024

There are some messages I end up typing over and over since each contributor needs to learn about our tooling. For example:

@rustbot author

Please write `@rustbot ready` when the PR is ready for another round of review.

Or

This looks good, thanks! Please squash the PR into a single commit.
Use `git rebase --interactive --keep-base ...` to do that so that there's no unnecessary diff.

@rustbot author

It would be nice if I could configure some repo-specific help messages so that I don't have to type the same thing over and over again. (I won't always have the time to be as patient as above on explaining the squashing procedure.)

So for instance:

@rustbot author-help
@rustbot author-squash

could act like @rustbot author but also print a message configured in triagebot.toml. (I am not sure if it is a good idea to tie this to @rustbot author, but both of the most prominent examples in my interaction happen to be of that sort.)

@apiraino
Copy link
Contributor

apiraino commented Dec 6, 2024

Would the GitHub Saved Replies solve your need? (I use them, too)

@RalfJung
Copy link
Member Author

RalfJung commented Dec 7, 2024

I didn't know about that feature. Will give it a try, thanks!

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