From 950904c3a7ecbf194ac5f0eb074a17557098b9e0 Mon Sep 17 00:00:00 2001 From: Micah Wood Date: Fri, 13 Dec 2024 09:21:51 -0500 Subject: [PATCH] Update description to mention PR due date is a week before --- .github/workflows/create-milestones.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-milestones.yml b/.github/workflows/create-milestones.yml index 4bfff7f2..b7f957d3 100644 --- a/.github/workflows/create-milestones.yml +++ b/.github/workflows/create-milestones.yml @@ -41,10 +41,11 @@ jobs: # Set the date format for the milestone title and due date DATE=$(date -u -d "$DUE_DATE" '+%B %-d, %Y') # Human-readable date + PR_DEADLINE=$(date -u -d "$DUE_DATE - 1 week" '+%B %-d, %Y') # Date 1 week before DATE_ISO8601=$(date -u -d "$DUE_DATE" '+%Y-%m-%dT23:59:59Z') # ISO8601 format # Prepare the description for the milestone - DESCRIPTION="The release is scheduled for $DATE, and PRs should be submitted and made mergeable by EOD $DATE. This means they should have tests passing and merge conflicts resolved. The description for the PR must include details of what is included in the PR and how to test it, and preferably new tests supporting the update.\n\nAny PRs submitted after the deadline will not be included in the release but go in the next release. This includes PRs with tests failing, no description, no screenshots/video demonstrating the update, sufficient Cypress tests, no link to associated JIRA ticket, etc. If no mergeable PRs are submitted for a release, there will be no release that week (unless there is a need for an out-of-cycle release)." + DESCRIPTION="The release is scheduled for $DATE. PRs must be submitted and made mergeable by EOD $PR_DEADLINE (one week before release). This means they should have tests passing and merge conflicts resolved. The description for the PR must include details of what is included in the PR and how to test it, and preferably new tests supporting the update.\n\nAny PRs submitted after the deadline will not be included in the release but go in the next release. This includes PRs with tests failing, no description, no screenshots/video demonstrating the update, sufficient Cypress tests, no link to associated JIRA ticket, etc. If no mergeable PRs are submitted for a release, there will be no release that week (unless there is a need for an out-of-cycle release)." # Debugging outputs echo "Debug: Human-readable Date: $DATE"