Skip to content

Commit 400d0c7

Browse files
committed
Revert "chore: temporarily remove settings.yml workflow"
This reverts commit 86d013f.
1 parent 4a86924 commit 400d0c7

File tree

1 file changed

+132
-0
lines changed

1 file changed

+132
-0
lines changed

.github/settings.yml

+132
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
repository:
2+
# See https://developer.github.com/v3/repos/#edit for all available settings.
3+
4+
# The name of the repository. Changing this will rename the repository
5+
name: treefmt-go
6+
7+
# A short description of the repository that will show up on GitHub
8+
description: one CLI to format your repo
9+
10+
# A URL with more information about the repository
11+
homepage: "https://numtide.github.io/treefmt-go/"
12+
13+
# A comma-separated list of topics to set on the repository
14+
topics: "cli, formatter, unifies"
15+
16+
# Either `true` to make the repository private, or `false` to make it public.
17+
private: false
18+
19+
# Either `true` to enable issues for this repository, `false` to disable them.
20+
has_issues: true
21+
22+
# Either `true` to enable projects for this repository, or `false` to disable them.
23+
# If projects are disabled for the organization, passing `true` will cause an API error.
24+
has_projects: false
25+
26+
# Either `true` to enable the wiki for this repository, `false` to disable it.
27+
has_wiki: true
28+
29+
# Either `true` to enable downloads for this repository, `false` to disable them.
30+
has_downloads: false
31+
32+
# Updates the default branch for this repository.
33+
default_branch: main
34+
35+
# Either `true` to allow squash-merging pull requests, or `false` to prevent
36+
# squash-merging.
37+
allow_squash_merge: true
38+
39+
# Either `true` to allow merging pull requests with a merge commit, or `false`
40+
# to prevent merging pull requests with merge commits.
41+
allow_merge_commit: true
42+
43+
# Either `true` to allow rebase-merging pull requests, or `false` to prevent
44+
# rebase-merging.
45+
allow_rebase_merge: true
46+
47+
# Either `true` to enable automatic deletion of branches on merge, or `false` to disable
48+
delete_branch_on_merge: true
49+
50+
# Either `true` to enable automated security fixes, or `false` to disable
51+
# automated security fixes.
52+
enable_automated_security_fixes: true
53+
54+
# Either `true` to enable vulnerability alerts, or `false` to disable
55+
# vulnerability alerts.
56+
enable_vulnerability_alerts: true
57+
58+
# Labels: define labels for Issues and Pull Requests
59+
#
60+
labels:
61+
# NOTE: leave that up to the https://github.com/numtide/.github repo
62+
# - name: bug
63+
# color: CC0000
64+
# description: An issue with the system 🐛.
65+
66+
# - name: feature
67+
# # If including a `#`, make sure to wrap it with quotes!
68+
# color: '#336699'
69+
# description: New functionality.
70+
71+
# - name: Help Wanted
72+
# # Provide a new name to rename an existing label
73+
# new_name: first-timers-only
74+
75+
# Milestones: define milestones for Issues and Pull Requests
76+
milestones:
77+
# - title: milestone-title
78+
# description: milestone-description
79+
# # The state of the milestone. Either `open` or `closed`
80+
# state: open
81+
82+
# Collaborators: give specific users access to this repository.
83+
# See https://docs.github.com/en/rest/reference/repos#add-a-repository-collaborator for available options
84+
collaborators:
85+
- username: brianmcgee
86+
permission: admin
87+
- username: zimbatm
88+
permission: admin
89+
90+
# See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options
91+
teams:
92+
- name: network
93+
# The permission to grant the team. Can be one of:
94+
# * `pull` - can pull, but not push to or administer this repository.
95+
# * `push` - can pull and push, but not administer this repository.
96+
# * `admin` - can pull, push and administer this repository.
97+
# * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
98+
# * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.
99+
permission: maintain
100+
101+
branches:
102+
- name: main
103+
# https://docs.github.com/en/rest/reference/repos#update-branch-protection
104+
# Branch Protection settings. Set to null to disable
105+
protection:
106+
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
107+
required_pull_request_reviews:
108+
# # The number of approvals required. (1-6)
109+
# required_approving_review_count: 1
110+
# # Dismiss approved reviews automatically when a new commit is pushed.
111+
# dismiss_stale_reviews: true
112+
# # Blocks merge until code owners have reviewed.
113+
# require_code_owner_reviews: true
114+
# # 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.
115+
# dismissal_restrictions:
116+
# users: []
117+
# teams: []
118+
# Required. Require status checks to pass before merging. Set to null to disable
119+
required_status_checks:
120+
# Required. Require branches to be up to date before merging.
121+
strict: true
122+
# Required. The list of status checks to require in order to merge into this branch
123+
contexts: []
124+
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
125+
enforce_admins: false
126+
# Disabled for mergify to work
127+
required_linear_history: false
128+
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
129+
restrictions:
130+
apps: ["mergify"]
131+
users: []
132+
teams: []

0 commit comments

Comments
 (0)