Skip to content

Commit

Permalink
Merge pull request #11 from LeSpocky/meeting-reminder
Browse files Browse the repository at this point in the history
meeting-reminder: Always evaluate week number as decimal
  • Loading branch information
MG-5 authored Feb 28, 2024
2 parents 359417f + 7ee5fcd commit 13a249b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/meeting-reminder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
echo "next_date_iso=$next_date_iso" >> "$GITHUB_OUTPUT"
echo "next_date_year=$next_date_year" >> "$GITHUB_OUTPUT"
next_date_week=$(date -d "next Wednesday" "+%V")
if [[ $(($next_date_week % 3)) != 0 ]];
if [[ $((10#$next_date_week % 3)) != 0 ]];
then
echo "::notice::Wrong week, skip sending reminder."
exit 1
Expand Down

0 comments on commit 13a249b

Please sign in to comment.