Skip to content

Commit 3f4971a

Browse files
committed
Update birthday bot workflow schedule for Melbourne DST
Changed the scheduled workflow time to 14:00 UTC to ensure it always runs after midnight Melbourne time, accommodating both AEST and AEDT daylight savings periods.
1 parent b01c9c9 commit 3f4971a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/check-birthdays.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: Birthday Discord Bot
22

33
on:
44
schedule:
5-
# Runs at 00:00 Melbourne time (AEST/AEDT, UTC+10/11). Use 13:00 UTC for 00:00 AEST, 13:00 UTC for 00:00 AEDT (DST not handled, but 13:00 UTC is midnight for both).
6-
- cron: '0 13 * * *'
5+
# Always runs after midnight Melbourne time (AEST/AEDT):
6+
# - 14:00 UTC = 00:00 (midnight) in AEST (winter)
7+
# - 14:00 UTC = 01:00 in AEDT (summer)
8+
# This ensures the workflow never runs before midnight in Melbourne, regardless of daylight savings.
9+
- cron: '0 14 * * *'
710
workflow_dispatch:
811

912
jobs:

0 commit comments

Comments
 (0)