Skip to content

fix: remove unused bg from vala icon #1759

fix: remove unused bg from vala icon

fix: remove unused bg from vala icon #1759

Workflow file for this run

name: 🎨 Check SVG icon colors
on:
pull_request:
paths:
- "icons/*.svg"
permissions:
contents: read
pull-requests: write
jobs:
color-check:
name: SVG Color Check
runs-on: ubuntu-latest
env:
TARGET_BRANCH: ${{ github.event.pull_request.base.ref }}
steps:
- name: 📥 Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
sparse-checkout-cone-mode: false
sparse-checkout: |
material-colors.yml
icons/
- name: 🔄 Fetch target branch
run: |
git fetch origin $TARGET_BRANCH
- name: 🎨 Check colors
id: color-check
run: |
svgFiles=$(git diff origin/$TARGET_BRANCH --diff-filter=ACMRTUX --name-only | grep '.svg$')
npx svg-color-linter --config material-colors.yml ${svgFiles}