From 289cd67e2268cd35ba9ad0f8bae8a363d2113b26 Mon Sep 17 00:00:00 2001 From: Patrick Roddy Date: Fri, 20 Oct 2023 17:19:05 +0100 Subject: [PATCH] Try setting default settings (#2) --- .github/settings.yml | 135 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 .github/settings.yml diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000..4d4a77a --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,135 @@ +# These settings are synced to GitHub by https://github.com/github/safe-settings + +repository: + allow_auto_merge: true + allow_merge_commit: false + allow_rebase_merge: false + allow_update_branch: true + default_branch: main + delete_branch_on_merge: true + has_discussions: false + has_downloads: false + has_wiki: false + squash_merge_commit_message: PR_BODY + squash_merge_commit_title: PR_TITLE + +labels: + include: + - name: active + description: + color: BA1061 + - name: awaiting-funding + description: + color: CF3D27 + - name: awaiting-start + description: + color: 4FF213 + - name: bug + description: Something isn't working + color: D73A4A + - name: CMIC + description: + color: 0DA9AF + - name: documentation + description: Improvements or additions to documentation + color: 0075CA + - name: DRC + description: + color: B13930 + - name: duplicate + description: This issue or pull request already exists + color: CFD3D7 + - name: enhancement + description: New feature or request + color: A2EEEF + - name: good first issue + description: Good for newcomers + color: 7057FF + - name: GOSH + description: + color: 34CA61 + - name: help wanted + description: Extra attention is needed + color: 008672 + - name: ICH + description: + color: 9069DA + - name: invalid + description: This doesn't seem right + color: E4E669 + - name: ION + description: + color: 2CD3F9 + - name: LHA + description: + color: A85482 + - name: NCITA + description: + color: 06F87C + - name: project-record + description: A new project record + color: EAF021 + - name: question + description: Further information is requested + color: D876E3 + - name: request + description: A service request to the MIRSG team + color: C5DEF5 + - name: transferred + description: + color: 0C6255 + - name: ucl-collab + description: + color: B728E0 + - name: ucl-covid19 + description: + color: F722A3 + - name: ucl-hist-omero + description: + color: 54A994 + - name: ucl-internal + description: + color: 638AB6 + - name: ucl-ncita + description: + color: 5F9460 + - name: ucl-open + description: + color: D6BCAA + - name: WEISS + description: + color: 9E2383 + - name: wontfix + description: This will not be worked on + color: FFFFFF + +teams: + - name: mirsg + permission: admin + +branches: + # `default` creates a branch protection rule to against the repo's base branch + - name: default + protection: + required_pull_request_reviews: + required_approving_review_count: 1 + dismiss_stale_reviews: false + require_code_owner_reviews: false + require_last_push_approval: false + bypass_pull_request_allowances: + apps: + - renovate + users: [] + teams: [] + dismissal_restrictions: + users: [] + teams: [] + required_status_checks: + strict: true + contexts: + - linting + enforce_admins: true + restrictions: + apps: [] + users: [] + teams: []