Skip to content

Instantly share code, notes, and snippets.

@dgmorales
Created March 23, 2019 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgmorales/77affc7a6286f174d665c97d43749c15 to your computer and use it in GitHub Desktop.
Save dgmorales/77affc7a6286f174d665c97d43749c15 to your computer and use it in GitHub Desktop.
GitHub CODEOWNERS example for Terraform GitHub management scenario
$ cat .github/CODEOWNERS
# This file defines who should review and approve changes in each tribe, and
# also other content inside this repo.
#
# Code owners are automatically requested for review when someone opens a pull
# request that modifies code that they own.
# See https://help.github.com/articles/about-codeowners/
* @approvers-top-level
org/ @approvers-org-membership
modules/ @approvers-module-reviewers
tribes/sometribe/ @approvers-sometribe
tribes/othertribe/ @approvers-othertribe
tribes/othertribe/team1 @approvers-team1
tribes/othertribe/team2 @approvers-team2
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment