File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ for CANCELLED in "${CANCELLED_DATES[@]}"; do
3434done
3535
3636IS_MEETING_WEEK=$( python3 - << EOF
37- from datetime import datetime,date
37+ from datetime import datetime, date, timezone
3838d1 = date.fromisoformat("$ANCHOR_DATE ")
39- d2 = datetime.utcnow( ).date()
39+ d2 = datetime.now(timezone.utc ).date()
4040print("true" if (d2 - d1).days % 14 == 0 else "false")
4141EOF
4242)
Original file line number Diff line number Diff line change 1- name : PythonBot - Office Hour Reminder
1+ name : PythonBot - Community Call Reminder
22
33on :
44 schedule :
2525 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2626 DRY_RUN : " false" # will post
2727 run : |
28- bash .github/scripts/bot-office-hours .sh
28+ bash .github/scripts/bot-community-calls .sh
You can’t perform that action at this time.
0 commit comments