Skip to content

Make CODEOWNERS more specific#240

Merged
Marenz merged 1 commit intofrequenz-floss:v1.x.xfrom
Marenz:refine-codeowners
Nov 5, 2025
Merged

Make CODEOWNERS more specific#240
Marenz merged 1 commit intofrequenz-floss:v1.x.xfrom
Marenz:refine-codeowners

Conversation

@Marenz
Copy link
Contributor

@Marenz Marenz commented Nov 5, 2025

That way dependabot PRs will be auto-merged as no owners are required for the pyproject.toml file.

That way dependabot PRs will be auto-merged as no owners are required for the pyproject.toml file.

Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
@Marenz Marenz requested a review from a team as a code owner November 5, 2025 11:25
Copilot AI review requested due to automatic review settings November 5, 2025 11:25
@Marenz Marenz requested a review from a team as a code owner November 5, 2025 11:25
@Marenz Marenz requested a review from llucax November 5, 2025 11:25
@github-actions github-actions bot added part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) part:dispatcher labels Nov 5, 2025
Copy link

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

This PR modifies the CODEOWNERS file to restrict ownership scope from the entire repository to specific directories only.

  • Changed the default owner pattern from * (all files) to explicit directory paths

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

# These are the default owners for everything in the repo, unless a later match
# takes precedence.
* @frequenz-floss/api-dispatch-team @frequenz-floss/python-sdk-team
/{src,tests,docs,dist}/ @frequenz-floss/api-dispatch-team @frequenz-floss/python-sdk-team
Copy link

Copilot AI Nov 5, 2025

Choose a reason for hiding this comment

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

The new ownership pattern only covers specific directories, leaving other repository files (e.g., configuration files, CI/CD workflows, root-level files) without explicit owners. This means changes to critical files like .github/workflows/*, pyproject.toml, or this CODEOWNERS file itself won't require review from the specified teams. Consider whether this is intentional or if a fallback pattern like * @frequenz-floss/api-dispatch-team should remain.

Suggested change
/{src,tests,docs,dist}/ @frequenz-floss/api-dispatch-team @frequenz-floss/python-sdk-team
/{src,tests,docs,dist}/ @frequenz-floss/api-dispatch-team @frequenz-floss/python-sdk-team
# Global fallback owner for all other files.
* @frequenz-floss/api-dispatch-team

Copilot uses AI. Check for mistakes.
@Marenz Marenz merged commit 3a80f05 into frequenz-floss:v1.x.x Nov 5, 2025
12 checks passed
@llucax
Copy link
Contributor

llucax commented Nov 10, 2025

I guess we are reverting this and disabling the requirement for code owner approvals to merge, right?

@Marenz Marenz deleted the refine-codeowners branch November 10, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:dispatcher part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants