Skip to content

feat: update astro file icon and add astro folder icon #746

feat: update astro file icon and add astro folder icon

feat: update astro file icon and add astro folder icon #746

Workflow file for this run

name: Check SVG icon colors
on:
pull_request:
paths:
- 'icons/*.svg'
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@v4
with:
fetch-depth: 0
- name: Check colors 🎨
run: |
svgFiles=$(git diff origin/${{ env.TARGET_BRANCH }} --diff-filter=ACMRTUX --name-only | grep '.svg$')
npx svg-color-linter --colors material-colors.yml ${svgFiles}