Skip to content

Commit b231336

Browse files
committed
test
1 parent b5f7860 commit b231336

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ghcr-prune.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
const versions = await github.paginate(listFn, listParams);
7878
core.info(`Found ${versions.length} versions`);
7979
80-
const hashRegex = /^[0-9a-f]{40}$/i;
80+
const hashRegex = /^(?:sha256:)?[0-9a-f]{7,64}$/i;
8181
let deleted = 0;
8282
for (const version of versions) {
8383
const created = new Date(version.created_at).getTime();

0 commit comments

Comments
 (0)