Skip to content

Commit ed2e1d6

Browse files
committed
chore(ci): update reminders workflow
1 parent c171b0a commit ed2e1d6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/reminders.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ on:
3333
- cron: '0 16 25 * *'
3434
# New: Reminds to ask family to support mortgage payment on the 16th of every month at 9 PM Taipei time (1 PM UTC).
3535
- cron: '0 13 16 * *'
36+
# New: Reminds to watch TV with partner every Friday, Saturday, and Sunday at 10 PM Taipei time (2 PM UTC).
37+
- cron: '0 14 * * 5-0'
3638
workflow_dispatch: # Allows manual triggering
3739

3840
concurrency:
@@ -138,6 +140,12 @@ jobs:
138140
run: python scripts/release/reminders_bot.py --job send_message --message "Ask family to support mortgage payment"
139141
if: github.event.schedule == '0 13 16 * *'
140142

143+
- name: Run Telegram script for watch TV with partner reminder
144+
env:
145+
TELEGRAM_BOT2_API_KEY: ${{ secrets.TELEGRAM_BOT2_API_KEY }}
146+
run: python scripts/release/reminders_bot.py --job send_message --message "Time to watch TV with your partner!"
147+
if: github.event.schedule == '0 14 * * 5-0'
148+
141149
- name: Run Telegram script for test message
142150
env:
143151
TELEGRAM_BOT2_API_KEY: ${{ secrets.TELEGRAM_BOT2_API_KEY }}

0 commit comments

Comments
 (0)