Skip to content

Commit 005eb17

Browse files
committed
Do not update GitHub Actions actions for more than one client
This client will serve as the canary and when green the skeleton PR can also be merged. This will save 12+ PR's causing countless Workflow runs for nothing.
1 parent 5a1bd32 commit 005eb17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/client-skelleton-setup.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
],
187187
];
188188

189+
$firstClient = true;
189190
foreach ($clients as $hour => $client) {
190191
$client['hour'] = $hour + 3;
191192
$client['specPath'] = SPECS_RELATIVE . $client['path'] . '/current.spec.yaml';
@@ -218,6 +219,7 @@
218219
'labels' => [
219220
$client['path'],
220221
],
222+
'enabled' => $firstClient,
221223
];
222224

223225
Files::setUp(
@@ -244,6 +246,7 @@
244246
WORKFLOW_PATH,
245247
$client,
246248
);
249+
$firstClient = false;
247250
}
248251

249252
file_put_contents(

0 commit comments

Comments
 (0)