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

Fix CODEOWNERS so that @BrianSigafoos-SQ and I are both owners. #12

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

myronmarston
Copy link
Collaborator

I thought it was a markdown list but it turns out the * is a wildcard and all owners have to be listed on the same line, as per the docs1:

If you want to match two or more code owners with the same pattern,
all the code owners must be on the same line. If the code owners are
not on the same line, the pattern matches only the last mentioned
code owner.

Footnotes

  1. https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax

I thought it was a markdown list but it turns out the `*` is a wildcard
and all owners have to be listed on the same line, as per the docs[^1]:

> If you want to match two or more code owners with the same pattern,
> all the code owners must be on the same line. If the code owners are
> not on the same line, the pattern matches only the last mentioned
> code owner.

[^1]: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax
Copy link
Collaborator

@BrianSigafoos-SQ BrianSigafoos-SQ left a comment

Choose a reason for hiding this comment

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

LGTM

@myronmarston myronmarston merged commit a516be9 into main Oct 31, 2024
9 checks passed
@myronmarston myronmarston deleted the myron/fix-CODEOWNERS branch October 31, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants