Skip to content

Commit f56e862

Browse files
authored
[Docs] Exclude false positives from unused images audit (cloudflare#19383)
* Exclude Workers AI logos * Exclude AI Assistant images * Exclude Changelog Next images
1 parent 68cf3f2 commit f56e862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/image-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
id: find-files
2222
run: |
2323
# Find all .png and .svg files, but only look in the ./src/assets/images directory
24-
FILES=$(find . -type f \( -name "*.png" -o -name "*.svg" \) -path "./src/assets/images/*")
24+
FILES=$(find . -type f \( -name "*.png" -o -name "*.svg" \) -path "./src/assets/images/*" -not -path "./src/assets/images/workers-ai/*.svg" -not -path "./src/assets/images/workers/ai/*.png" -not -path "./src/assets/images/changelog-next/*")
2525
2626
# Check if files are referenced in any markdown file
2727
UNUSED_FILES=""

0 commit comments

Comments
 (0)