forked from sindresorhus/sindresorhus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yml
38 lines (34 loc) 路 1.12 KB
/
settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Default Github repo settings used across repos for my projects.
repository:
# Squash and merge only, no rebase or merge commits.
allow_squash_merge: true
allow_merge_commit: false
allow_rebase_merge: false
# Squash using the PR title and body to make it easier to edit and
# control without requiring a rebase.
squash_merge_commit_title: PR_TITLE
squash_merge_commit_message: PR_BODY
# Nice to haves.
allow_auto_merge: true
delete_branch_on_merge: true
branches:
- name: main
protection:
enforce_admins: false
required_status_checks:
checks:
- context: "go test"
app_id: &github_actions_id 15368
- context: "golangci-lint"
app_id: *github_actions_id
required_pull_request_reviews:
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_approving_review_count: 0
bypass_pull_request_allowances: null
restrictions: null
required_linear_history: true
allow_force_pushes: true
allow_deletions: false
block_creations: false
required_conversation_resolution: true