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 11on :
22 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 * * *'
56 workflow_dispatch :
67
78name : codegen
1819 with :
1920 script : |
2021 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
2223 const services = ${{ needs.discovery.outputs.services }}
2324 if (services.length > MAX_SERVICE_SIZE) {
2425 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