Skip to content

Instantly share code, notes, and snippets.

@dgmorales
Last active March 23, 2019 14:30
Show Gist options
  • Save dgmorales/ab9d7729ab96571784355dff124536aa to your computer and use it in GitHub Desktop.
Save dgmorales/ab9d7729ab96571784355dff124536aa 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 or team, 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