# CODEOWNER Reviewers

* People with admin or owner permissions can set up a CODEOWNERS file in a repository.
* The people you choose as code owners must have write permissions for the repository.
* When the code owner is a team, that team must be visible and it must have write permissions, even if all the individual members of the team already have write permissions directly, through organization membership, or through another team membership.
* For every branch there will be a **CODEOWNER file.** Only they can able to write the code and able to merge the pull requests.

### Create CODEOWNER file:

* Go to any of your branch(DIGIT branch created previously) in a repository and click on new file and name it as **CODEOWNERS**

<figure><img src="/files/FEyN8c2uoi2GrVQygPgy" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4RvHN9NonaA0uwoiVNky" alt=""><figcaption></figcaption></figure>

* Click on "Create a **new branch** for this commit and start a pull request" and click on **propose new file**

<figure><img src="/files/na1SB6bmWgZhIhAVhk5C" alt=""><figcaption></figcaption></figure>

* Next click on **Create pull request** and then **Merge pull request** and **confirm merge.**

<figure><img src="/files/a5E6UvhDus9wtkBQiWSl" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MsAB5ZfX3t016n3dBgBr" alt=""><figcaption></figcaption></figure>

* Add the GitHub Id's of all the team or people whom you want to add.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digit.org/platform/guides/operations-guide/gitops/codeowner-reviewers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
