Skip to content

Commit 02d7e53

Browse files
author
Sophia Marie Terry
committed
Merge branch 'main' into CLOUDP-328955
2 parents 7924099 + a6e2853 commit 02d7e53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/api-versions-reminder.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,17 +158,17 @@ jobs:
158158
env:
159159
openapi_spec_url: "https://raw.githubusercontent.com/mongodb/openapi/refs/heads/dev/openapi/.raw/v2.json"
160160
run: |
161-
1_week_date=""
161+
one_week_date=""
162162
163163
# Determine if the system is macOS or Linux
164164
if [[ "$(uname)" == "Darwin" ]]; then
165165
# macOS date command format
166-
1_week_date=$(date -v+1w +"%Y-%m-%d")
166+
one_week_date=$(date -v+1w +"%Y-%m-%d")
167167
else
168168
# Linux date command format
169-
1_week_date=$(date --date="+1 week" +"%Y-%m-%d")
169+
one_week_date=$(date --date="+1 week" +"%Y-%m-%d")
170170
fi
171-
./.github/scripts/get_list_files_to_delete.sh "${openapi_spec_url}" "${1_week_date}"
171+
./.github/scripts/get_list_files_to_delete.sh "${openapi_spec_url}" "${one_week_date}"
172172
# Create a JIRA ticket only if the there is not already a ticket with the same title
173173
- name: Create JIRA Ticket
174174
id: create-jira-ticket

0 commit comments

Comments
 (0)