diff --git a/.github/workflows/icon-review.yml b/.github/workflows/icon-review.yml index 78376dbfc1..f578e54415 100644 --- a/.github/workflows/icon-review.yml +++ b/.github/workflows/icon-review.yml @@ -33,8 +33,10 @@ jobs: - name: Review SVG files 🔍 run: | + cd main svgFiles=$(git diff --no-index ../main ../fork --diff-filter=ACMRTUX --name-only | grep '.svg$') echo "SVG files changed: ${svgFiles}" + npx svg-icon-review ${svgFiles} - name: Install jq ⚙️ run: sudo apt-get install jq