Skip to content

Commit cda2525

Browse files
authored
Correct GitHub Actions artifact and log retention policy for GHES (#27935)
1 parent e7c97b0 commit cda2525

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
By default, the artifacts and log files generated by workflows are retained for 90 days before they are automatically deleted. You can adjust the retention period, depending on the type of repository:
1+
By default, the artifacts and log files generated by workflows are retained for 90 days before they are automatically deleted.
2+
3+
{%- ifversion fpt or ghec %}
4+
You can adjust the retention period, depending on the type of repository:
25

3-
{%- ifversion fpt or ghec or ghes %}
46
- For public repositories: you can change this retention period to anywhere between 1 day or 90 days.
7+
- For private{% ifversion ghec %} and internal{% endif %} repositories: you can change this retention period to anywhere between 1 day or 400 days.
8+
{%- else %}
9+
You can change this retention period to anywhere between 1 day or 400 days.
510
{%- endif %}
611

7-
- For private{% ifversion ghec or ghes or ghae %} and internal{% endif %} repositories: you can change this retention period to anywhere between 1 day or 400 days.
8-
912
When you customize the retention period, it only applies to new artifacts and log files, and does not retroactively apply to existing objects. For managed repositories and organizations, the maximum retention period cannot exceed the limit set by the managing organization or enterprise.

0 commit comments

Comments
 (0)