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

Extra PR comments from guid (system account) #64

Open
austinried opened this issue Dec 27, 2017 · 2 comments
Open

Extra PR comments from guid (system account) #64

austinried opened this issue Dec 27, 2017 · 2 comments

Comments

@austinried
Copy link

austinried commented Dec 27, 2017

Is this planned? I updated recently from 2017.0 to 2017.3, and after updating this plugin to the latest on master everything seems to be working for the most part, except pull request votes look a little strange. Each vote seems to be coming in with a long guid instead of the user's mapped name, which is weird because the name comes in fine on regular pull request comment events.

Example of the PR vote message:

000007F5-0000-8888-8000-000000000000@00000000-0000-0000-0000-000000000000 commented on...

@kria
Copy link
Owner

kria commented Dec 28, 2017

This showed up before update 3. They started sending both a vote event and a comment event when voting. So you'll first get:

kria approved the changes in pull request #8 in TestCompany/BotTest - bleh

and then:

000007F5-0000-8888-8000-000000000000@00000000-0000-0000-0000-000000000000 commented on pull request #8 in ...

That second one is from the system account. I should probably look into blocking these by default, but for now you can filter them out by adding a teamName criteria.

<rule notify="true" events="PullRequestComment" teamName=".*" />

This means that the commenter has to be a member of a team that matches that regex, and since the system account isn't a member of any team, it won't match that rule.

@austinried
Copy link
Author

Thanks, adding that filter did the trick and removed the system account events. Everything else that we're using seems to be working with update 3, so I couldn't really say if further support for it is needed or not.

@kria kria changed the title TFS 2017.3 Support? Extra PR comments from guid (system account) Jan 2, 2018
Repository owner deleted a comment from hosnyGITECH Feb 6, 2023
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