Skip to content

Commit f43ae62

Browse files
committed
chore: exclude known cancelled dates
Signed-off-by: exploreriii <[email protected]>
1 parent 2cf510f commit f43ae62

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ ANCHOR_DATE="2025-11-12"
77
MEETING_LINK="https://zoom-lfx.platform.linuxfoundation.org/meeting/92041330205?password=2f345bee-0c14-4dd5-9883-06fbc9c60581"
88
CALENDAR_LINK="https://zoom-lfx.platform.linuxfoundation.org/meetings/hiero?view=week"
99

10+
CANCELLED_DATES=(
11+
"2025-12-24"
12+
)
13+
1014
EXCLUDED_AUTHORS=(
1115
"rbair23"
1216
"nadineloepfe"
@@ -21,6 +25,14 @@ if [ "$DRY_RUN" = "true" ]; then
2125
echo "No comments will be posted."
2226
fi
2327

28+
TODAY=$(date -u +"%Y-%m-%d")
29+
for CANCELLED in "${CANCELLED_DATES[@]}"; do
30+
if [ "$TODAY" = "$CANCELLED" ]; then
31+
echo "Community Call cancelled on $TODAY. Exiting."
32+
exit 0
33+
fi
34+
done
35+
2436
IS_MEETING_WEEK=$(python3 - <<EOF
2537
from datetime import date
2638
d1 = date.fromisoformat("$ANCHOR_DATE")

0 commit comments

Comments
 (0)