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

Auto-hide comments that only contain a label command #429

Open
Aaron1011 opened this issue Mar 27, 2020 · 1 comment
Open

Auto-hide comments that only contain a label command #429

Aaron1011 opened this issue Mar 27, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Aaron1011
Copy link
Member

When using the 'rustbot modify labels' command, the comment containing the command is essentially just noise. The GitHub UI already shows label changes in a more compact and readable format.

It would be useful for triagebot to auto-hide the comment containing the label command (assuming that the message has no other content).

According to isaacs/github#1480 (comment), this can be done through the GitHub GraphQL API.

@pietroalbini
Copy link
Member

Oh, TIL you can hide comments from GraphQL while you can't from the REST API. We should probably implement auto-hiding in RLA as well!

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

No branches or pull requests

3 participants