Skip to content

Commit 2424c27

Browse files
ci: use IANA timezone field for cron schedule
Co-Authored-By: AJ Steers <aj@airbyte.io>
1 parent 6f0ee09 commit 2424c27

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/generate-command.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Triggers:
77
# - On push to main: Auto-generates after every merge to ensure SDK stays up-to-date (auto-merge enabled)
8-
# - Daily schedule (5 AM & 5 PM Pacific): Catches upstream API spec changes (auto-merge enabled)
8+
# - Daily schedule (5 AM & 5 PM America/Los_Angeles): Catches upstream API spec changes (auto-merge enabled)
99
# - Manual workflow_dispatch: For on-demand generation
1010
# - Slash command (/generate): Regenerates and pushes results back to the PR branch
1111
# - workflow_call: For validation from other workflows (e.g., PR checks)
@@ -30,8 +30,10 @@ name: Generate SDK
3030
branches:
3131
- main
3232
schedule:
33-
- cron: '0 12 * * *' # 5am Pacific (PDT; 6am PST)
34-
- cron: '0 0 * * *' # 5pm Pacific (PDT; 6pm PST)
33+
- cron: '0 5 * * *'
34+
timezone: America/Los_Angeles
35+
- cron: '0 17 * * *'
36+
timezone: America/Los_Angeles
3537
workflow_dispatch:
3638
inputs:
3739
dry_run:

0 commit comments

Comments
 (0)