@@ -5,13 +5,13 @@ repository:
55 # See https://developer.github.com/v3/repos/#edit for all available settings.
66
77 # The name of the repository. Changing this will rename the repository
8- name : repo-template
8+ name : dir-sdk-javascript
99
1010 # A short description of the repository that will show up on GitHub
11- description : Agntcy Project Repo Template
11+ description : Directory JavaScript SDK
1212
1313 # A URL with more information about the repository
14- homepage : https://www.example.com
14+ homepage : https://docs.agntcy.org/dir/directory-sdk/#javascript-sdk
1515
1616 # A comma-separated list of topics to set on the repository
1717 topics : github, probot
@@ -60,60 +60,56 @@ repository:
6060
6161# TODO: Enable this section once GitHub teams have been created & granted access to this repository
6262# See https://developer.github.com/v3/teams/#add-or-update-team-repository for options
63- # teams:
64- # # The permission to grant the team. Can be one of:
65- # # * `pull` - can pull, but not push to or administer this repository.
66- # # * `push` - can pull and push, but not administer this repository.
67- # # * `admin` - can pull, push and administer this repository.
68- # # * `maintain` - Recommended for project managers who need to manage the
69- # # repository without access to sensitive or destructive actions.
70- # # * `triage` - Recommended for contributors who need to proactively manage
71- # # issues and pull requests without write access.
72- # - name: <project-name-admins>
73- # permission: admin
74- # - name: <project-name-maintainers>
75- # permission: maintain
76- # - name: <project-name>
77- # permission: triage
63+ teams :
64+ # The permission to grant the team. Can be one of:
65+ # * `pull` - can pull, but not push to or administer this repository.
66+ # * `push` - can pull and push, but not administer this repository.
67+ # * `admin` - can pull, push and administer this repository.
68+ # * `maintain` - Recommended for project managers who need to manage the
69+ # repository without access to sensitive or destructive actions.
70+ # * `triage` - Recommended for contributors who need to proactively manage
71+ # issues and pull requests without write access.
72+ - name : dir-maintainers
73+ permission : admin
7874
7975# TODO: Enable this section once repository has been created & no further modifications are needed
80- # branches:
81- # - name: main
82- # # https://developer.github.com/v3/repos/branches/#update-branch-protection
83- # # Branch Protection settings. Set to null to disable
84- # protection:
85- # # Required. Require at least one approving review on a pull request,
86- # # before merging. Set to null to disable.
87- # required_pull_request_reviews:
88- # # The number of approvals required. (1-6)
89- # required_approving_review_count: 1
90- # # Dismiss approved reviews automatically when a new commit is pushed.
91- # dismiss_stale_reviews: true
92- # # Blocks merge until code owners have reviewed.
93- # require_code_owner_reviews: true
94- # # Specify which users and teams can dismiss pull request reviews. Pass
95- # # an empty dismissal_restrictions object to disable. User and team
96- # # dismissal_restrictions are only available for organization-owned
97- # # repositories. Omit this parameter for personal repositories.
98- # dismissal_restrictions:
99- # users: []
100- # teams: []
101- # # Required. Require status checks to pass before merging. Set to null to disable
102- # required_status_checks:
103- # # Required. Require branches to be up to date before merging.
104- # strict: true
105- # # Required. The list of required status checks in order to merge into this branch
106- # contexts: []
107- # # Required. Enforce all configured restrictions for administrators. Set to
108- # # true to enforce required status checks for repository administrators.
109- # # Set to null to disable.
110- # enforce_admins: true
111- # # Prevent merge commits from being pushed to matching branches
112- # required_linear_history: true
113- # # Required. Restrict who can push to this branch. Team and user
114- # # restrictions are only available for organization-owned repositories. Set
115- # # to null to disable.
116- # restrictions:
117- # apps: []
118- # users: []
119- # teams: []
76+ branches :
77+ - name : main
78+ # https://developer.github.com/v3/repos/branches/#update-branch-protection
79+ # Branch Protection settings. Set to null to disable
80+ protection :
81+ # Required. Require at least one approving review on a pull request,
82+ # before merging. Set to null to disable.
83+ required_pull_request_reviews :
84+ # The number of approvals required. (1-6)
85+ required_approving_review_count : 1
86+ # Dismiss approved reviews automatically when a new commit is pushed.
87+ dismiss_stale_reviews : true
88+ # Blocks merge until code owners have reviewed.
89+ require_code_owner_reviews : true
90+ # Specify which users and teams can dismiss pull request reviews. Pass
91+ # an empty dismissal_restrictions object to disable. User and team
92+ # dismissal_restrictions are only available for organization-owned
93+ # repositories. Omit this parameter for personal repositories.
94+ dismissal_restrictions :
95+ users : []
96+ teams : []
97+ # Required. Require status checks to pass before merging. Set to null to disable
98+ required_status_checks :
99+ # Required. Require branches to be up to date before merging.
100+ strict : true
101+ # Required. The list of required status checks in order to merge into this branch
102+ contexts : []
103+ # Required. Enforce all configured restrictions for administrators. Set to
104+ # true to enforce required status checks for repository administrators.
105+ # Set to null to disable.
106+ enforce_admins : true
107+ # Prevent merge commits from being pushed to matching branches
108+ required_linear_history : true
109+ # Required. Restrict who can push to this branch. Team and user
110+ # restrictions are only available for organization-owned repositories. Set
111+ # to null to disable.
112+ restrictions :
113+ apps : []
114+ users : []
115+ teams : []
0 commit comments