Add debian-package icon for *.deb
packages
#1189
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check SVG icon colors | |
on: | |
pull_request: | |
paths: | |
- 'icons/*.svg' | |
permissions: | |
contents: read | |
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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- 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} |