Skip to content

Add test to ensure @bors only responds to itself #54

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

Merged
merged 1 commit into from
Jul 14, 2019

Conversation

bryanburgers
Copy link
Contributor

Test that we only respond when a command is issued to @bors, and not to @bors-servo or any other @bors{something} bot.

This came up because a comment on rust-lang/rust referenced @bors-servo instead of @bors and was still approved successfully. (rust-lang/rust#62613 (comment)) The command-parsing changes apparently already fixed this, but add a test to prevent regressions.

Test that we only respond when a command is issued to `@bors`, and not
to `@bors-servo` or any other `@bors{something}` bot.

This came up because a comment on `rust-lang/rust` referenced
`@bors-servo` instead of `@bors` and was still approved successfully.
The command-parsing changes apparently already fixed this, but add a
test to prevent regressions.
@pietroalbini
Copy link
Member

Thanks for this!

@pietroalbini pietroalbini merged commit 56244c4 into rust-lang:master Jul 14, 2019
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

Successfully merging this pull request may close these issues.

2 participants