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

CODEOWNERS: Remove the catch-all rule #32174

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

michi-covalent
Copy link
Contributor

@michi-covalent michi-covalent commented Apr 24, 2024

Remove the catch-all rule to avoid pulling in tophat for review whenever new files get added. Pulling in tophat is unnecessary because:

  • lint-codeowners.yaml 1 validates CODEOWNERS has entries for new files.
  • cilium/contributing team owns CODEOWNERS file. This team can ensure that new files get placed in appropriate locations.

Suggested-by: Timo Beckers timo@isovalent.com

Footnotes

  1. https://github.com/cilium/cilium/blob/main/.github/workflows/lint-codeowners.yaml

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 24, 2024
@michi-covalent michi-covalent added the release-note/ci This PR makes changes to the CI. label Apr 24, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 24, 2024
@michi-covalent michi-covalent requested review from a team, nebril and asauber and removed request for a team April 24, 2024 22:15
@michi-covalent michi-covalent requested review from a team April 24, 2024 22:17
@michi-covalent michi-covalent marked this pull request as ready for review April 24, 2024 22:19
@michi-covalent michi-covalent requested a review from a team as a code owner April 24, 2024 22:19
@michi-covalent
Copy link
Contributor Author

for the following files it might make sense to create a new release-managers team cc @cilium/cilium-maintainers 💭

/AUTHORS
/stable.txt
/VERSION

@michi-covalent
Copy link
Contributor Author

/test

auto-merge was automatically disabled April 25, 2024 00:37

Pull Request is not mergeable

auto-merge was automatically disabled April 25, 2024 00:37

Pull Request is not mergeable

CODEOWNERS Outdated Show resolved Hide resolved
CODEOWNERS Outdated Show resolved Hide resolved
@michi-covalent
Copy link
Contributor Author

/test

@ti-mo
Copy link
Contributor

ti-mo commented Apr 25, 2024

Oh, TIL https://github.com/cilium/cilium/blob/main/.github/workflows/lint-codeowners.yaml. Looks like we don't really need another codeowners checker then. Thanks Michi!

CODEOWNERS Outdated Show resolved Hide resolved
CODEOWNERS Outdated Show resolved Hide resolved
CODEOWNERS Outdated Show resolved Hide resolved
CODEOWNERS Show resolved Hide resolved
Copy link
Member

@nebril nebril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside from the releases team not being created yet.

@michi-covalent
Copy link
Contributor Author

/test

@michi-covalent
Copy link
Contributor Author

need a quick ack from @cilium/docs-structure team for the auto-generated Documentation/codeowners.rst file 🚀🙏

Copy link
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving for codeowners. One more minor nit.

CODEOWNERS Outdated Show resolved Hide resolved
Remove the catch-all rule to avoid pulling in tophat for review whenever
new files get added. Pulling in tophat is unnecessary because:

- lint-codeowners.yaml [^1] validates CODEOWNERS has entries for new
  files.
- cilium/contributing team owns CODEOWNERS file. This team can ensure
  that new files get placed in appropriate locations.

[^1]: https://github.com/cilium/cilium/blob/main/.github/workflows/lint-codeowners.yaml

Suggested-by: Timo Beckers <timo@isovalent.com>
Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
@michi-covalent
Copy link
Contributor Author

/test

@michi-covalent michi-covalent added this pull request to the merge queue Apr 26, 2024
Merged via the queue into main with commit ae83f3e Apr 26, 2024
259 of 261 checks passed
@michi-covalent michi-covalent deleted the pr/michi/own-it-man branch April 26, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants