Skip to content

GH-49890: [Dev] Group files under component comment headers in .github/CODEOWNERS#49891

Open
kevingurney wants to merge 1 commit intoapache:mainfrom
mathworks:GH-49890
Open

GH-49890: [Dev] Group files under component comment headers in .github/CODEOWNERS#49891
kevingurney wants to merge 1 commit intoapache:mainfrom
mathworks:GH-49890

Conversation

@kevingurney
Copy link
Copy Markdown
Member

@kevingurney kevingurney commented Apr 28, 2026

Rationale for this change

Based on the feedback shared by @kou in #49811 (comment), we should consider grouping files under component comment headers in .github/CODEOWNERS to improve readability.

We should also add @kevingurney and @sgilmore10 as CODEOWNERS for the MATLAB-related CI file .github/workflows/matlab.yml.

Component(s)

Developer Tools

What changes are included in this PR?

  1. Group files under component comment headers in .github/CODEOWNERS file.
  2. Add @kevingurney and @sgilmore10 as CODEOWNERS for file .github/workflows/matlab.yml.

Are these changes tested?

N/A.

Are there any user-facing changes?

No.

Notes

  1. Thank you @sgilmore10 for your help with this pull request!

…` file.

2. Add `@kevingurney` and `@sgilmore10` as `CODEOWNERS` for file `.github/workflows/matlab.yml`.

Co-authored-by: Sarah Gilmore <sgilmore@mathworks.com>
@kevingurney
Copy link
Copy Markdown
Member Author

Note: @kou - The changes in this PR were adapted from the diff you shared in #49811 (comment). Since there was no explicit license included with this diff, please let us know if you have any concerns regarding the use of this adapted code from a copyright perspective.

@github-actions github-actions Bot added the awaiting committer review Awaiting committer review label Apr 28, 2026
Copy link
Copy Markdown
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

This looks good to me

@github-actions github-actions Bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Apr 29, 2026
@kevingurney
Copy link
Copy Markdown
Member Author

+1

@kevingurney
Copy link
Copy Markdown
Member Author

Before I proceed with merging this, @kou do you have any flags regarding my previous comment?

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Reorganizes .github/CODEOWNERS to be more readable by grouping paths under component headers, and updates ownership for the MATLAB CI workflow file.

Changes:

  • Group CODEOWNERS entries under component comment headers (C GLib, C++, MATLAB, Python, R, Ruby).
  • Add MATLAB maintainers as CODEOWNERS for .github/workflows/matlab.yml.
  • Move R packaging-tooling patterns into the R section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/CODEOWNERS
Comment on lines 41 to +42
/matlab/ @kevingurney @kou @sgilmore10
/.github/workflows/matlab.yml @kevingurney @sgilmore10
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

/.github/workflows/matlab.yml is currently listed before the broader /.github/ ... rule later in the file. In CODEOWNERS, the last matching pattern wins, so the later /.github/ entry will override this and the MATLAB-specific owners won't be applied. Move the /.github/workflows/matlab.yml rule below the /.github/ rule (or otherwise narrow the /.github/ rule) so it takes precedence for that file.

Copilot uses AI. Check for mistakes.
Comment thread .github/CODEOWNERS
## Components
# Components

## C Glib
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

Component header uses C Glib, but the project consistently refers to this component as C GLib (e.g., .github/workflows/ruby.yml and r/_pkgdown.yml). Consider updating the header capitalization for consistency and searchability.

Suggested change
## C Glib
## C GLib

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

No problem! We can use the diff under Apache-2.0 by the ASF!

Comment thread .github/CODEOWNERS
Comment on lines 41 to +42
/matlab/ @kevingurney @kou @sgilmore10
/.github/workflows/matlab.yml @kevingurney @sgilmore10
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sort.

Suggested change
/matlab/ @kevingurney @kou @sgilmore10
/.github/workflows/matlab.yml @kevingurney @sgilmore10
/.github/workflows/matlab.yml @kevingurney @sgilmore10
/matlab/ @kevingurney @kou @sgilmore10

@github-actions github-actions Bot added awaiting changes Awaiting changes and removed awaiting merge Awaiting merge labels Apr 30, 2026
Comment thread .github/CODEOWNERS
## Components
# Components

## C Glib
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hmm. I don't know why the suggested change by Copilot can't be applied...

Suggested change
## C Glib
## C GLib

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah, I can't push to https://github.com/mathworks/arrow .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting changes Awaiting changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants