We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3463a9 commit c4c9bf5Copy full SHA for c4c9bf5
.github/workflows/codegen.yaml
@@ -1,7 +1,8 @@
1
on:
2
schedule:
3
- # Runs at 12:30, 1:30 and 2:30.
4
- - cron: '30 0-2 * * *'
+ # Runs at 12:18, 1:18 and 2:18.
+ # See https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule
5
+ - cron: '18 0-2 * * *'
6
workflow_dispatch:
7
8
name: codegen
@@ -18,7 +19,7 @@ jobs:
18
19
with:
20
script: |
21
console.log('checking size of services')
- 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
23
const services = ${{ needs.discovery.outputs.services }}
24
if (services.length > MAX_SERVICE_SIZE) {
25
throw new Error(`Total services (${services.length}) exceed limit of ${MAX_SERVICE_SIZE}`)
0 commit comments