File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
schedule :
3
- # Runs at 12:30, 1:30 and 2:30.
4
- - cron : ' 30 0-2 * * *'
3
+ # Runs at 12:18, 1:18 and 2:18.
4
+ # See https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule
5
+ - cron : ' 18 0-2 * * *'
5
6
workflow_dispatch :
6
7
7
8
name : codegen
18
19
with :
19
20
script : |
20
21
console.log('checking size of services')
21
- const MAX_SERVICE_SIZE = 300 // 00:30 to 02:30 implies 3 batches of size 100
22
+ const MAX_SERVICE_SIZE = 300 // 00:18 to 02:18 implies 3 batches of size 100
22
23
const services = ${{ needs.discovery.outputs.services }}
23
24
if (services.length > MAX_SERVICE_SIZE) {
24
25
throw new Error(`Total services (${services.length}) exceed limit of ${MAX_SERVICE_SIZE}`)
You can’t perform that action at this time.
0 commit comments