Skip to content
Latchkey

Code Owner - CI/CD Glossary Definition

A code owner is a user or team designated in a CODEOWNERS file as responsible for reviewing changes to certain files.

A code owner is defined by path patterns in a CODEOWNERS file (in the repo root, .github/, or docs/). When a PR touches a matched path, the listed owners are auto-requested for review; protection can require their approval.

Last match wins

CODEOWNERS is evaluated top to bottom and the last matching pattern for a file determines its owners, unlike .gitignore. Order specific rules after general ones.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →