Skip to content

Commit

Permalink
feat: add teams config to template settings
Browse files Browse the repository at this point in the history
This commit adds the Teams: config feature to the template settings file
that will pre-define the appropriate security settings.

Changes to be committed:
modified:   template/.github/settings.yml
  • Loading branch information
blackfalcon committed Feb 7, 2024
1 parent 565e3c6 commit ba1b644
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions template/.github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ repository:
# rebase-merging.
allow_rebase_merge: true

# See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options
teams:
# The permission to grant the team. Can be one of:
# * `pull` - can pull, but not push to or administer this repository.
# * `push` - can pull and push, but not administer this repository.
# * `admin` - can pull, push and administer this repository.
# * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
# * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.
- name: auro-team
permission: admin
- name: nonauroteamwriteaccess
permission: push

branches:
- name: main
# https://developer.github.com/v3/repos/branches/#update-branch-protection
Expand Down

0 comments on commit ba1b644

Please sign in to comment.