From 3af366788fb47ff87be0142446c027f5a90491e7 Mon Sep 17 00:00:00 2001 From: Thomas Schuetz <38893055+thschue@users.noreply.github.com> Date: Thu, 27 Apr 2023 10:43:23 +0200 Subject: [PATCH] chore: add settings (#351) Signed-off-by: Thomas Schuetz --- .github/CODEOWNERS | 1 + .github/settings.yml | 47 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .github/settings.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ed6d4428f2..ba74b0500f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -9,4 +9,5 @@ # Unless a later match takes precedence, these owners will be requested for # review when someone opens a pull request. +/.github/settings.yml @k8sgpt-ai/maintainers * @k8sgpt-ai/maintainers @k8sgpt-ai/k8sgpt-maintainers @k8sgpt-ai/k8sgpt-approvers diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000000..9d84354ff0 --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,47 @@ +repository: + name: "k8sgpt" + description: "Giving Kubernetes SRE superpowers to everyone" + homepage_url: "https://k8sgpt.ai" + topics: kubernetes, devops, tooling, openai, sre + + default_branch: main + allow_squash_merge: true + allow_merge_commit: true + allow_rebase_merge: true + + has_wiki: false + + teams: + - name: "maintainers" + permission: "admin" + - name: "k8sgpt-maintainers" + permission: "maintain" + - name: "k8sgpt-approvers" + permission: "push" + - name: "contributors" + permission: "push" + +branches: + - name: main + protection: + required_pull_request_reviews: + required_approving_review_count: 1 + dismiss_stale_reviews: true + require_code_owner_reviews: true + dismissal_restrictions: {} + code_owner_approval: true + required_conversation_resolution: true + + required_status_checks: + strict: true + contexts: + - "DCO" + + enforce_admins: true + + required_linear_history: true + + restrictions: + users: [] + apps: [] + teams: [] \ No newline at end of file