Skip to content

Commit

Permalink
Updating github-config (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
cf-buildpacks-eng authored Feb 29, 2024
1 parent 8f5450b commit 3f8c615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
day_of_month=$(date +%d)
# Check if it's the second or fourth Thursday of the month
# second thursday of the month will always be between day 8 and 14 (inclusive)
if [[ "$day_of_month" -ge "8" && "$day_of_month" -le "14" ]; then
if [[ "$day_of_month" -ge "8" && "$day_of_month" -le "14" ]]; then
echo "It's the second Thursday of the month"
echo "bool=true" >> "${GITHUB_OUTPUT}"
# fourth thursday of the month will always be between day 21 and 28 (inclusive)
if [[ "$day_of_month" -ge "22" && "$day_of_month" -le "28" ]; then
if [[ "$day_of_month" -ge "22" && "$day_of_month" -le "28" ]]; then
echo "It's the fourth Thursday of the month"
echo "bool=true" >> "${GITHUB_OUTPUT}"
else
Expand Down

0 comments on commit 3f8c615

Please sign in to comment.