-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
sigmention plugin needs to be more configurable #6217
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently we are repeating team mentions if the user is not a member of the org in which they are commenting. https://github.com/kargakis/test-infra/blob/86173c580e4f7eb436d01b31255eebedde1e3466/prow/plugins/sigmention/sigmention.go#L140
I think we actually need to check if the user is a member of the owning org? I couldn't find Github documentation about this though.
This LGTM though.
/lgtm
/hold
prow/plugins/plugins.go
Outdated
OwningOrg string `json:"owning_org,omitempty"` | ||
// Regexp parses comments and should return matches to team mentions. | ||
// These mentions enable labeling issues or PRs with sig/team labels. | ||
// Furthermore, teams with the following prefixes will be mapped to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/prefixes/suffixes/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cjwagner, kargakis The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/hold cancel |
Works for us now: openshift/origin#18059 (comment) |
Tested and it's working as expected now. We don't use specialized teams in Openshift.