Skip to content

Commit

Permalink
[Docs] Exclude false positives from unused images audit (#19383)
Browse files Browse the repository at this point in the history
* Exclude Workers AI logos
* Exclude AI Assistant images
* Exclude Changelog Next images
  • Loading branch information
pedrosousa authored Jan 23, 2025
1 parent 68cf3f2 commit f56e862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/image-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: find-files
run: |
# Find all .png and .svg files, but only look in the ./src/assets/images directory
FILES=$(find . -type f \( -name "*.png" -o -name "*.svg" \) -path "./src/assets/images/*")
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/*")
# Check if files are referenced in any markdown file
UNUSED_FILES=""
Expand Down

0 comments on commit f56e862

Please sign in to comment.