|
1 | | -# https://github.com/github/safe-settings/blob/main-enterprise/docs/sample-settings/suborg.yml |
2 | | ---- |
3 | | -suborgrepos: |
4 | | - - "*" |
| 1 | +# # https://github.com/github/safe-settings/blob/main-enterprise/docs/sample-settings/suborg.yml |
| 2 | +# --- |
| 3 | +# suborgrepos: |
| 4 | +# - "*" |
5 | 5 |
|
6 | | -rulesets: |
7 | | - - name: Default |
8 | | - target: branch |
9 | | - enforcement: active |
| 6 | +# rulesets: |
| 7 | +# - name: Default |
| 8 | +# target: branch |
| 9 | +# enforcement: active |
10 | 10 |
|
11 | | - conditions: |
12 | | - ref_name: |
13 | | - include: |
14 | | - - ~DEFAULT_BRANCH |
15 | | - exclude: [] |
| 11 | +# conditions: |
| 12 | +# ref_name: |
| 13 | +# include: |
| 14 | +# - ~DEFAULT_BRANCH |
| 15 | +# exclude: [] |
16 | 16 |
|
17 | | - rules: |
18 | | - - type: deletion |
19 | | - - type: non_fast_forward # prevents force pushes |
| 17 | +# rules: |
| 18 | +# - type: deletion |
| 19 | +# - type: non_fast_forward # prevents force pushes |
20 | 20 |
|
21 | | - - name: Pull Requests |
22 | | - target: branch |
23 | | - enforcement: active |
| 21 | +# - name: Pull Requests |
| 22 | +# target: branch |
| 23 | +# enforcement: active |
24 | 24 |
|
25 | | - bypass_actors: |
26 | | - - actor_id: 2740 # Renovate Bot |
27 | | - actor_type: Integration |
28 | | - bypass_mode: always |
| 25 | +# bypass_actors: |
| 26 | +# - actor_id: 2740 # Renovate Bot |
| 27 | +# actor_type: Integration |
| 28 | +# bypass_mode: always |
29 | 29 |
|
30 | | - conditions: |
31 | | - ref_name: |
32 | | - include: |
33 | | - - ~DEFAULT_BRANCH |
34 | | - exclude: [] |
| 30 | +# conditions: |
| 31 | +# ref_name: |
| 32 | +# include: |
| 33 | +# - ~DEFAULT_BRANCH |
| 34 | +# exclude: [] |
35 | 35 |
|
36 | | - rules: |
37 | | - - type: pull_request |
38 | | - parameters: |
39 | | - allowed_merge_types: |
40 | | - - squash |
41 | | - dismiss_stale_reviews_on_push: true |
42 | | - require_code_owner_review: false |
43 | | - require_last_push_approval: false |
44 | | - required_approving_review_count: 1 |
45 | | - required_review_thread_resolution: false |
| 36 | +# rules: |
| 37 | +# - type: pull_request |
| 38 | +# parameters: |
| 39 | +# allowed_merge_types: |
| 40 | +# - squash |
| 41 | +# dismiss_stale_reviews_on_push: true |
| 42 | +# require_code_owner_review: false |
| 43 | +# require_last_push_approval: false |
| 44 | +# required_approving_review_count: 1 |
| 45 | +# required_review_thread_resolution: false |
46 | 46 |
|
47 | | - - name: Status Checks |
48 | | - target: branch |
49 | | - enforcement: active |
| 47 | +# - name: Status Checks |
| 48 | +# target: branch |
| 49 | +# enforcement: active |
50 | 50 |
|
51 | | - conditions: |
52 | | - ref_name: |
53 | | - include: |
54 | | - - ~DEFAULT_BRANCH |
55 | | - exclude: [] |
| 51 | +# conditions: |
| 52 | +# ref_name: |
| 53 | +# include: |
| 54 | +# - ~DEFAULT_BRANCH |
| 55 | +# exclude: [] |
56 | 56 |
|
57 | | - rules: |
58 | | - - type: required_status_checks |
59 | | - parameters: |
60 | | - do_not_enforce_on_create: false |
61 | | - required_status_checks: |
62 | | - - context: links |
63 | | - integration_id: 15368 |
64 | | - - context: linting |
65 | | - integration_id: 15368 |
66 | | - strict_required_status_checks_policy: false |
| 57 | +# rules: |
| 58 | +# - type: required_status_checks |
| 59 | +# parameters: |
| 60 | +# do_not_enforce_on_create: false |
| 61 | +# required_status_checks: |
| 62 | +# - context: links |
| 63 | +# integration_id: 15368 |
| 64 | +# - context: linting |
| 65 | +# integration_id: 15368 |
| 66 | +# strict_required_status_checks_policy: false |
0 commit comments