Skip to content

Commit

Permalink
Merge branch 'main' into crx-file-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief authored Nov 16, 2023
2 parents 438ceaf + b60b9db commit 5989b42
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/icon-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ jobs:
with:
fetch-depth: 0

- name: Get changed files
id: changed-files
uses: jitterbit/get-changed-files@v1

- name: Review SVG files 🔍
run: |
svgFiles=$(echo ${{ steps.changed-files.outputs.modified_files }} | tr ' ' '\n' | grep 'icons/*.svg' | tr '\n' ' ')
echo "Target branch: ${{ github.event.pull_request }}"
svgFiles=$(git diff origin/${{ env.TARGET_BRANCH }} --diff-filter=ACMRTUX --name-only | grep '.svg$')
echo "SVG files changed: ${svgFiles}"
npx svg-icon-review ${svgFiles}
- name: Install jq ⚙️
Expand Down

0 comments on commit 5989b42

Please sign in to comment.