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

Add basic codeowners file #21

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 1 addition & 38 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,38 +1 @@
# Overview

# The CODEOWNERS file is a GitHub's feature which allows you to create an overview of the code ownership structure in your repository.
# Specify the default owners of your repository and code owners of particular repository parts to define who is automatically requested for a review each time a contributor creates a pull request to the main branch.
# Modify the default settings of the repository and select the "Require review from Code Owners" option on the protected main branch to require one approval from the owners of every part of the repository included in the pull request. For more details, read the following article on GitHub: https://help.github.com/articles/enabling-required-reviews-for-pull-requests/.

# Details

# The CODEOWNERS file is located at the root of your repository and includes a specification of the code ownership structure of the repository.
# It is up to you to decide who is responsible for the review of particular parts and types of files in your repository.

# When defining the file, keep in mind the following rules:

# Lines starting with a hash (#) are comments.
# Each line of the file is a file pattern followed by one or more owners.
# You can use individual GitHub usernames, e-mail addresses, or team names to define owners. To define the owners with a team name, first add the team to your repository as collaborators with write access permissions. For more details, read the following article on GitHub: https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/.
# Define the default owners of the repository. They are automatically requested for a review of any content at the root of the repository and any content for which no owners are specified in this file.
# Provide granular ownership specification for folders and subfolders. You can also define the owners of specific file types in your repository.
# The order is important. The last matching pattern in the file has the most precedence.

# Examples

# These are the default owners for the whole content of the repository, including the content for which no owners are specified in the file.
# * @global-owner1 globalowner@example.com @org/team-name
# The following rule indicates that if a pull request affects folder1 at the root of the repository and any content in that folder, only this owner is requested for a review.
# /folder1/ @testuser1
# When you use the following pattern, you specify that @testuser2 is responsible for the review of any file in folder2, excluding subfolders located therein.
# /folder2/* @testuser2
# In this example, you define @testuser3 as the owner of any content in every "docs" folder in the repository.
# docs/ @testuser3
# When you open a pull request that modifies the "yaml" files, only @testuser4 is requested for a review, and the global owner(s) are not.
# *.yaml @testuser4

# Reference

# For more details, read the following articles on GitHub:
# https://help.github.com/articles/about-codeowners/
# https://github.com/blog/2392-introducing-code-owners/
* @kyma-project/otters
Loading