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: Check that CODEOWNERS is up to date #1554

Open
haydentherapper opened this issue Jan 28, 2022 · 2 comments
Open

Feature: Check that CODEOWNERS is up to date #1554

haydentherapper opened this issue Jan 28, 2022 · 2 comments
Labels
kind/enhancement New feature or request kind/new-check New check for scorecard Stale
Projects

Comments

@haydentherapper
Copy link

Is your feature request related to a problem? Please describe.
Code owners can be required to approve PRs before merging into a protected branch. Maintainers may rely on code owners to validate the contents of the PRs, so code owners needs to be trusted. Over time, it's easy to continually grow the CODEOWNERS file without keeping it up to date.

Describe the solution you'd like
I propose a scorecard check that the individuals in CODEOWNERS are active contributors. This is especially important for global code owners that can approve code in the entire repository. A threshold may be necessary for handling code owners that only maintain a small subset of files. For example, they may not be an active contributor, but may still be relied on when changes are needed.

I propose that we also check that file paths listed in CODEOWNERS are actually present in the repo. For example, if we delete a directory such as /apps/, then there shouldn't be an owner for this path. If this were not removed and later /apps/ was added back, it may be undesired that the original code owner maintain ownership over that path.

@haydentherapper haydentherapper added the kind/enhancement New feature or request label Jan 28, 2022
@justaugustus justaugustus added this to Backlog in Scorecard via automation Feb 23, 2022
Copy link

github-actions bot commented Nov 2, 2023

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the Stale label Nov 2, 2023
@spencerschrock spencerschrock added the kind/new-check New check for scorecard label Nov 2, 2023
@github-actions github-actions bot removed the Stale label Nov 3, 2023
Copy link

github-actions bot commented Mar 4, 2024

This issue has been marked stale because it has been open for 60 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request kind/new-check New check for scorecard Stale
Projects
Scorecard
Backlog
Status: Backlog - New Checks
Development

No branches or pull requests

2 participants