forked from moodle/devdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[repo] Add CODEOWNERS to protect workflows
- Loading branch information
1 parent
eabfa8c
commit e94dbd8
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|