Skip to content

Commit 5c1f8db

Browse files
committed
2024
1 parent 0df1b65 commit 5c1f8db

File tree

2 files changed

+110
-0
lines changed

2 files changed

+110
-0
lines changed

.github/rulesets.json

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{
2+
"id": 3893642,
3+
"name": "default",
4+
"target": "branch",
5+
"source_type": "Repository",
6+
"source": "hack-ink/rust-initializer",
7+
"enforcement": "active",
8+
"conditions": {
9+
"ref_name": {
10+
"exclude": [],
11+
"include": [
12+
"~DEFAULT_BRANCH"
13+
]
14+
}
15+
},
16+
"rules": [
17+
{
18+
"type": "deletion"
19+
},
20+
{
21+
"type": "non_fast_forward"
22+
},
23+
{
24+
"type": "creation"
25+
},
26+
{
27+
"type": "required_linear_history"
28+
},
29+
{
30+
"type": "merge_queue",
31+
"parameters": {
32+
"merge_method": "MERGE",
33+
"max_entries_to_build": 5,
34+
"min_entries_to_merge": 1,
35+
"max_entries_to_merge": 5,
36+
"min_entries_to_merge_wait_minutes": 5,
37+
"grouping_strategy": "ALLGREEN",
38+
"check_response_timeout_minutes": 60
39+
}
40+
},
41+
{
42+
"type": "required_signatures"
43+
},
44+
{
45+
"type": "pull_request",
46+
"parameters": {
47+
"required_approving_review_count": 0,
48+
"dismiss_stale_reviews_on_push": true,
49+
"require_code_owner_review": false,
50+
"require_last_push_approval": false,
51+
"required_review_thread_resolution": true,
52+
"automatic_copilot_code_review_enabled": true,
53+
"allowed_merge_methods": [
54+
"squash"
55+
]
56+
}
57+
},
58+
{
59+
"type": "required_status_checks",
60+
"parameters": {
61+
"strict_required_status_checks_policy": false,
62+
"do_not_enforce_on_create": false,
63+
"required_status_checks": [
64+
{
65+
"context": "Task cargo clippy",
66+
"integration_id": 15368
67+
},
68+
{
69+
"context": "Task cargo fmt",
70+
"integration_id": 15368
71+
},
72+
{
73+
"context": "Task cargo nextest",
74+
"integration_id": 15368
75+
}
76+
]
77+
}
78+
},
79+
{
80+
"type": "code_scanning",
81+
"parameters": {
82+
"code_scanning_tools": [
83+
{
84+
"tool": "CodeQL",
85+
"security_alerts_threshold": "high_or_higher",
86+
"alerts_threshold": "errors"
87+
}
88+
]
89+
}
90+
}
91+
],
92+
"bypass_actors": [
93+
{
94+
"actor_id": null,
95+
"actor_type": "OrganizationAdmin",
96+
"bypass_mode": "always"
97+
},
98+
{
99+
"actor_id": null,
100+
"actor_type": "DeployKey",
101+
"bypass_mode": "always"
102+
},
103+
{
104+
"actor_id": 5,
105+
"actor_type": "RepositoryRole",
106+
"bypass_mode": "always"
107+
}
108+
]
109+
}

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ license = "GPL-3.0"
88
name = "<NAME>"
99
readme = "README.md"
1010
repository = "https://github.com/hack-ink/<NAME>"
11+
resolver = "3"
1112
version = "0.1.0"
1213

1314
[profile.ci-dev]

0 commit comments

Comments
 (0)