Is there a way to know which people have merge privileges on a public GitHub repository. If the owner is a user and not an organization, then at least I know one maintainer, but it's possible that there are other users with merge rights. Also, if the owner is an organization it is possible, that not all members of the organization have merge rights. So is there a way to find the exact maintainers?
4 Answers
Team privileges are not public in general. Even an organization-membership is not public since the publicity must be chosen by the given member, as the Documentation states:
By default, your organization membership visibility is set to private. You can choose to publicize individual organization memberships on your profile.
This partly applies for their implementation of CODEOWNERS, too. If it is up to date the given source file is annotated with a link to its responsible GitHub user.
However there's normally no need to know the individual maintainers of a repository (since every interaction with repos you're able to access is covered by the GitHub UI, which also assures that somebody takes care about your request). If your attention is about a public repository you might search the commits for accepted pull-request. But in that case you would preferably fork the repo and just generate pull-requests on your own.
You are even not able to contact an organization via GitHub - try to find their official website, contact them and ask for their maintainers if you need that information.
-
3I guess the use case that OP may be asking about is "Is this repo maintained by a single maintainer who has since abandoned the project or are there multiple maintainers?" Jun 7, 2022 at 15:46
-
I really hope the OP flagged this answer 8 years ago as answer because it answered his question. But your question is definitely a interesting one. Jun 8, 2022 at 9:44
GitHub (since July 2017) now officially supports "code owners" for projects. Code owners are individuals or teams that are responsible for code in a repository.
Project maintainers can add a CODEOWNERS file to their repository to make it easier for others to identify code owners and have code owners be notified to review Issues and Pull Requests.
See the announcement post and help article for more info.
Just go to the team members tab within your repo, on the right it will describe what type of member they are. Ex: member or owner.
-
2Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.– Community BotSep 18, 2022 at 16:29
-
1I can't find the team members tab, could you attach a screenshot to your answer or specify where exactly is located? Apr 27 at 8:19
-
This is a good answer, and got me sleuthing enough to find what I need, I think. This and looking at commits to see who committed or old PRs to see who merged and you'll get pretty close to knowing who does what -- and who might be a member of a managing group. @MarcoLackovic Added a picture. Does that help? It is from the front page of a project. There's also a even more detailed page about contributors described here.– ruffinJun 12 at 13:54
-
-
@MarcoLackovic I'm not sure what you're getting at in your comment. Did my earlier comment & screenshot answer your question about where to look, was it wrong, or did you need more information? If you're saying you ignored/missed Contributors initially because Kewkimb said "Team Members", I hope this helped. Possibly worth submitting/making an edit if that was the point of confusion.– ruffinSep 1 at 19:37
The owners/mantainers are listed in the following file within the repository:
.github/CODEOWNERS