Skip to content

Commit cab7d0a

Browse files
committed
ci(cleanup): set default values for retention inputs
Set images_to_keep to 4 and retention_days to 30 in the workflow_dispatch inputs to ensure the workflow has sensible defaults when triggered without explicit parameters.
1 parent b07475f commit cab7d0a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cleanup-ghcr-images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88
images_to_keep:
99
description: Keep this many newest non-SHA-only image versions (0 = no count limit, minimum 1 always kept)
1010
required: false
11-
default: ''
11+
default: '4'
1212
retention_days:
1313
description: Delete non-SHA-only image versions older than this many days (0 = no age limit)
1414
required: false
15-
default: ''
15+
default: '30'
1616
delete_sha_only_tags:
1717
description: Delete image versions that only have SHA tags
1818
required: false

0 commit comments

Comments
 (0)