CODEOWNERS File Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Repository Management

What you'll be asked

  1. Where should a CODEOWNERS file be located in a repository to ensure it is automatically recognized by GitHub?
  2. If a CODEOWNERS file contains the line '* @octocat', what does this signify?
  3. What happens if a pull request modifies files that are covered by multiple CODEOWNERS rules?
  4. Which of the following is a valid way to specify a team as a code owner in a CODEOWNERS file?
  5. You have a CODEOWNERS file with the following content: /docs/ @docs-team /docs/api/ @api-team If a user submits a PR that modifies 'docs/api/v1/index.md', who is required to approve the PR?

Answers and explanations come after you submit.