Skip to content

Commit 60fd771

Browse files
update matrix of required status checks
1 parent e98b997 commit 60fd771

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.github/policies/msgraph-sdk-javascript-branch-protection.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ configuration:
3535
requiresLinearHistory: false
3636
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
3737
requiredStatusChecks:
38-
- build (12.x)
39-
- build (14.x)
4038
- build (16.x)
39+
- build (18.x)
40+
- build (20.x)
4141
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
4242
requiresStrictStatusChecks: true
4343
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
@@ -71,6 +71,9 @@ configuration:
7171
requiresLinearHistory: false
7272
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
7373
requiredStatusChecks:
74+
- build (16.x)
75+
- build (18.x)
76+
- build (20.x)
7477
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
7578
requiresStrictStatusChecks: true
7679
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
@@ -98,6 +101,11 @@ configuration:
98101
requiresConversationResolution: false
99102
# Are merge commits prohibited from being pushed to this branch. boolean
100103
requiresLinearHistory: false
104+
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
105+
requiredStatusChecks:
106+
- build (16.x)
107+
- build (18.x)
108+
- build (20.x)
101109
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
102110
requiresStrictStatusChecks: true
103111
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
@@ -129,6 +137,11 @@ configuration:
129137
requiresConversationResolution: false
130138
# Are merge commits prohibited from being pushed to this branch. boolean
131139
requiresLinearHistory: false
140+
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
141+
requiredStatusChecks:
142+
- build (16.x)
143+
- build (18.x)
144+
- build (20.x)
132145
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
133146
requiresStrictStatusChecks: true
134147
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
@@ -162,6 +175,9 @@ configuration:
162175
requiresLinearHistory: false
163176
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
164177
requiredStatusChecks:
178+
- build (16.x)
179+
- build (18.x)
180+
- build (20.x)
165181
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
166182
requiresStrictStatusChecks: false
167183
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
@@ -195,9 +211,9 @@ configuration:
195211
requiresLinearHistory: false
196212
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
197213
requiredStatusChecks:
198-
- build (14.x)
199214
- build (16.x)
200-
- build (12.x)
215+
- build (18.x)
216+
- build (20.x)
201217
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
202218
requiresStrictStatusChecks: true
203219
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.

0 commit comments

Comments
 (0)