Skip to content

Commit

Permalink
[repo] Add CODEOWNERS to protect workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Apr 21, 2022
1 parent eabfa8c commit e94dbd8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This is the CODEOWNERS configuration for the Moodle Developer Resources
# For documentation, see:
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# Only allow members of the integration team to approve changes to the
# CODEOWNERS file.
/CODEOWNERS @moodle/iteam

# Only allow members of the integration team to approve changes to the
# .github directory, including all workflows, and other sub-directories.
# This is to ensure that arbitrary changes to GitHub workflows are not made
# which expose the repository, or its secrets.
/.github/ @moodle/iteam

# Only allow members of the integration team to approve changes to the
# scripts directory and sub-directories.
# These scripts are called from places including Github workflows, which
# have access to secrets.
/scripts/ @moodle/iteam


0 comments on commit e94dbd8

Please sign in to comment.