Skip to content

Commit 703be23

Browse files
committed
chore: coderabbit suggestions
Signed-off-by: exploreriii <[email protected]>
1 parent f43ae62 commit 703be23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/scripts/bot-community-calls.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ for CANCELLED in "${CANCELLED_DATES[@]}"; do
3434
done
3535

3636
IS_MEETING_WEEK=$(python3 - <<EOF
37-
from datetime import date
37+
from datetime import datetime
3838
d1 = date.fromisoformat("$ANCHOR_DATE")
39-
d2 = date.today()
39+
d2 = datetime.utcnow().date()
4040
print("true" if (d2 - d1).days % 14 == 0 else "false")
4141
EOF
4242
)

.github/workflows/bot-community-calls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626
DRY_RUN: "false" # will post
2727
run: |
28-
bash ./scripts/bot-office-hours.sh
28+
bash .github/scripts/bot-office-hours.sh

0 commit comments

Comments
 (0)