Skip to content

Commit 21769ff

Browse files
committed
Add repository settings
1 parent 29817f5 commit 21769ff

File tree

3 files changed

+234
-175
lines changed

3 files changed

+234
-175
lines changed

.github/settings.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
2+
3+
repository:
4+
description: A git prepare-commit-msg hook for authoring commit messages with GPT-3.
5+
topics: git rust cli githook large-language-models gpt3 commit-message
6+
has_issues: true
7+
has_projects: false
8+
has_wiki: false
9+
has_downloads: true
10+
default_branch: main
11+
12+
allow_squash_merge: false
13+
allow_merge_commit: false
14+
allow_rebase_merge: true
15+
16+
allow_auto_merge: true
17+
delete_branch_on_merge: true
18+
19+
# labels:
20+
# - name: E-easy
21+
# color: '#02e10c'
22+
# description: "Call for participation: experience needed to fix: easy / not much (good first issue)"
23+
# - name: E-medium
24+
# color: '#02e10c'
25+
# description: "Call for participation: experience needed to fix: medium / intermediate"
26+
# - name: E-hard
27+
# color: '#02e10c'
28+
# description: "Call for participation: experience needed to fix: hard / a lot."
29+
30+
branches:
31+
- name: main
32+
# https://docs.github.com/en/rest/reference/repos#update-branch-protection
33+
# Branch Protection settings. Set to null to disable.
34+
protection:
35+
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
36+
required_pull_request_reviews:
37+
require_code_owner_reviews: true
38+
# Required. Require that conversations are resolved before merging.
39+
# We disable this.
40+
required_conversation_resolution: null
41+
# Required. Require status checks to pass before merging. Set to null to disable
42+
required_status_checks:
43+
# Required. Require branches to be up to date before merging.
44+
# We disable this.
45+
strict: null
46+
# Required. The list of status checks to require in order to merge into this branch
47+
contexts: [
48+
"All CI stages"
49+
]
50+
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
51+
# We disable this.
52+
enforce_admins: false
53+
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
54+
restrictions: null
55+
# Prevent merge commits from being pushed to matching branches
56+
required_linear_history: true

0 commit comments

Comments
 (0)