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

Ability to ping code owners in PRs and discussions #16036

Closed
dmitryax opened this issue Nov 2, 2022 · 9 comments
Closed

Ability to ping code owners in PRs and discussions #16036

dmitryax opened this issue Nov 2, 2022 · 9 comments
Assignees
Labels
admin issues tracker issues etc. ci-cd CI, CD, testing, build issues enhancement New feature or request

Comments

@dmitryax
Copy link
Member

dmitryax commented Nov 2, 2022

I'd be nice to be able to automatically ping code owners by adding labels in PRs and discussions, not only issues.

@dmitryax dmitryax added enhancement New feature or request needs triage New item requiring triage labels Nov 2, 2022
@dmitryax
Copy link
Member Author

dmitryax commented Nov 2, 2022

@evan-bradley WDYT?

@evan-bradley
Copy link
Contributor

I like that idea. Code owners who are not approvers/maintainers do not get notified automatically in PRs because of how the GitHub CODEOWNERS file works, so that could simplify the process of asking for a review. Discussions could also benefit since they're like issues.

@evan-bradley evan-bradley added ci-cd CI, CD, testing, build issues admin issues tracker issues etc. and removed needs triage New item requiring triage labels Nov 2, 2022
@evan-bradley evan-bradley self-assigned this Nov 8, 2022
@evan-bradley
Copy link
Contributor

Discussions aren't supported in the GitHub CLI, so we will only be able to do PRs for now.

@dmitryax
Copy link
Member Author

dmitryax commented Nov 8, 2022

Discussions aren't supported in the GitHub CLI, so we will only be able to do PRs for now.

Sounds good. Thanks for adding the support of PRs!

@dmitryax dmitryax closed this as completed Nov 8, 2022
@dmitryax
Copy link
Member Author

dmitryax commented Nov 15, 2022

@evan-bradley I see that PRs are getting labels automatically which is cool but it doesn't seems that pinging code owners work

@dmitryax dmitryax reopened this Nov 15, 2022
@evan-bradley
Copy link
Contributor

Do you have an example where it isn't requesting a review? I have seen a few instances where code owners aren't added to a PR, which I believe is because someone in the request isn't part of the OpenTelemetry organization. For normal cases it appears to add code owners when it adds the label.

@dmitryax
Copy link
Member Author

You're right. They are not members of the organization. For example, I submitted #16302 and none of the 3 code owners weren't notified. I think we should ping them if we cannot assign reviewers

@evan-bradley
Copy link
Contributor

That makes sense to me. It's a little more involved than adding them as reviewers, so I've opened an issue here to outline approaches we can take: #16326.

@dmitryax
Copy link
Member Author

Sounds good. thanks. closing this one then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin issues tracker issues etc. ci-cd CI, CD, testing, build issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants