1
0
mirror of synced 2025-12-19 18:10:59 -05:00

allow-list hero images for the orphaned files deletions (#57926)

This commit is contained in:
Evan Bonsignori
2025-10-10 13:05:55 -07:00
committed by GitHub
parent 37a2754e32
commit 75b169421e
6 changed files with 7 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

View File

@@ -48,6 +48,13 @@ const EXCEPTIONS = new Set([
'assets/images/social-cards/default.png',
'assets/images/social-cards/issues.png',
'assets/images/social-cards/code-security.png',
// Hero images may not be used, but we keep them around for future use
'assets/images/banner-images/hero-1.png',
'assets/images/banner-images/hero-2.png',
'assets/images/banner-images/hero-3.png',
'assets/images/banner-images/hero-4.png',
'assets/images/banner-images/hero-5.png',
'assets/images/banner-images/hero-6.png',
])
function isExceptionPath(imagePath: string) {