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

Feature: Probe whether repo has up-to-date CODEOWNERS #3931

Open
raghavkaul opened this issue Mar 10, 2024 · 4 comments
Open

Feature: Probe whether repo has up-to-date CODEOWNERS #3931

raghavkaul opened this issue Mar 10, 2024 · 4 comments
Assignees

Comments

@raghavkaul
Copy link
Contributor

raghavkaul commented Mar 10, 2024

Scorecard should have a probe for whether users in a CODEOWNERS file are still members of the org that the repo belongs to. An up-to-date CODEOWNERS file makes it easier for a contributor to know who can help with a PR or a question about the project. This could use the "Get Organization membership for user" API (which requires a PAT).

Might be a good fit for either the Contributors or Maintained checks.

References:

@spencerschrock
Copy link
Contributor

Might be a good fit for either the Contributors or Maintained checks.

It may be better to have an "OSPO" focused category for these sort of admin required checks (like Webhooks).

whether users in a CODEOWNERS file are still members of the org that the repo belongs to

Note: I think this makes an assumption about no external collaborators. I'm guessing the GitHub OSPO didn't have these sort of scenarios.

@raghavkaul raghavkaul added the good first issue Good for newcomers label Mar 19, 2024
@schaeferka
Copy link

schaeferka commented Apr 15, 2024

I'm interested in this issue. I'm here at OpenSSF.

@wbeckler
Copy link

Is there a way to tell whether a repo or org is enforcing org membership for maintainer activities? Maybe the check ignores org membership where it's not enforced.

@spencerschrock
Copy link
Contributor

Duplicate of #1554

(trying to do some issue bookkeeping)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants