Skip to content

Commit afdba76

Browse files
committed
Wait a week before dropping support for end of life GHES versions
1 parent 07e43a2 commit afdba76

File tree

1 file changed

+3
-1
lines changed
  • .github/workflows/update-supported-enterprise-server-versions

1 file changed

+3
-1
lines changed

.github/workflows/update-supported-enterprise-server-versions/update.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def main():
3535

3636
if oldest_supported_release is None or release_version < oldest_supported_release:
3737
end_of_life_date = datetime.date.fromisoformat(release_data["end"])
38-
if end_of_life_date > datetime.date.today():
38+
# The GHES version is not actually end of life until the end of the day specified by
39+
# `end_of_life_date`. Wait an extra week to be safe.
40+
if end_of_life_date > datetime.date.today() + datetime.timedelta(weeks=1):
3941
oldest_supported_release = release_version
4042

4143
api_compatibility_data = {

0 commit comments

Comments
 (0)