Skip to content

Commit e6d8400

Browse files
committed
Add the github repository configuration
1 parent 25e9573 commit e6d8400

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

.github/settings.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Managed settings for the repository, for documentation see: https://probot.github.io/apps/settings/
2+
---
3+
repository:
4+
description: Module for automatically recycling EKS worker nodes.
5+
topics: cplat, eks, terraform
6+
default_branch: main
7+
has_wiki: false
8+
has_projects: false
9+
has_issues: true
10+
has_downloads: false
11+
allow_squash_merge: false
12+
allow_merge_commit: true
13+
delete_branch_on_merge: true
14+
15+
teams:
16+
- name: core-platform
17+
permission: write
18+
19+
branches:
20+
- name: main
21+
# https://developer.github.com/v3/repos/branches/#update-branch-protection
22+
# Branch Protection settings. Set to null to disable
23+
protection:
24+
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
25+
required_pull_request_reviews:
26+
# The number of approvals required. (1-6)
27+
required_approving_review_count: 1
28+
# Dismiss approved reviews automatically when a new commit is pushed.
29+
dismiss_stale_reviews: true
30+
# Blocks merge until code owners have reviewed.
31+
require_code_owner_reviews: true
32+
# Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions object to disable. User and team dismissal_restrictions are only available for organization-owned repositories. Omit this parameter for personal repositories.
33+
dismissal_restrictions:
34+
users: []
35+
teams: []
36+
# Required. Require status checks to pass before merging. Set to null to disable
37+
required_status_checks:
38+
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
39+
enforce_admins: true
40+
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
41+
restrictions:
42+
apps: []
43+
users: []
44+
teams: []

CODEOWNERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Everything is basically owned by Core Platform
2+
* @scribd/core-platform
3+
4+
5+
# For the time being, changes to the settings must be approved by somebody with
6+
# effective "root" access
7+
.github/settings.yml @scribd/core-platform-root
8+
# Since CODEOWNERS governs admin access, it should be guarded too
9+
CODEOWNERS @scribd/core-platform-root

0 commit comments

Comments
 (0)