We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f7860 commit b231336Copy full SHA for b231336
1 file changed
.github/workflows/ghcr-prune.yml
@@ -77,7 +77,7 @@ jobs:
77
const versions = await github.paginate(listFn, listParams);
78
core.info(`Found ${versions.length} versions`);
79
80
- const hashRegex = /^[0-9a-f]{40}$/i;
+ const hashRegex = /^(?:sha256:)?[0-9a-f]{7,64}$/i;
81
let deleted = 0;
82
for (const version of versions) {
83
const created = new Date(version.created_at).getTime();
0 commit comments