Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmehl committed Aug 22, 2024
1 parent 3b75333 commit 881fd8d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
9 changes: 8 additions & 1 deletion config/example/org.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@ org_name: example-org-on-github
org_owners:
- octocat

# Default settings
# Default settings. Will be overridden if set in a team.
# If neither defaults nor team settings are present:
# - when creating a new team, will take GitHub's defaults.
# - when syncing settting of a team, will not touch the current status.
defaults:
team:
# Description of a team
description: ""
# Level of privacy of a team. Can be "secret" or "closed"
privacy: "closed"
# Notification setting of a team. Can be "notifications_enabled" or "notifications_disabled"
notification_setting: "notifications_enabled"
22 changes: 16 additions & 6 deletions config/example/teams/myteams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
# SPDX-License-Identifier: CC0-1.0

# A Team with its name
Maintainers:
Project Team:
# Description of the team
description: "My awesome Maintainers team"
# Level of privacy of the team. Can be "secret" or "closed". Note: parent/child teams cannot be "secret"
privacy: "closed"
# Notification setting of the team.
# Can be "notifications_enabled" or "notifications_disabled"
notification_setting: "notifications_enabled"
# Team maintainers, can add new people and change team settings
maintainer:
- octocat
Expand All @@ -13,12 +20,15 @@ Maintainers:
# The repositories the team shall have access to with a certain permission
# Can be one of: pull, triage, push, maintain, admin
repos:
cool-repository: admin
other-repo: admin
cool-repository: push
other-repo: push

Subproject:
Project Maintainers:
# Make this a child team of the provided parent. Note: You should first
# describe parents in this file, then children
parent: Maintainers
member:
- user2
- octocat
repos:
cool-repository: maintain
cool-repository: admin
other-repo: maintain

0 comments on commit 881fd8d

Please sign in to comment.