Skip to content

Optimize SVGs

Optimize SVGs #30

Workflow file for this run

name: Optimize SVGs
on:
schedule:
- cron: "0 0 * * 1"
workflow_dispatch:
permissions:
contents: write
jobs:
optimize-svgs:
runs-on: ubuntu-latest
if: github.repository == 'LawnchairLauncher/lawnicons'
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Optimize SVGs
uses: ericcornelissen/[email protected]
id: svgo
- name: Commit optimizations
uses: stefanzweifel/git-auto-commit-action@v4
if: ${{steps.svgo.outputs.DID_OPTIMIZE}}
with:
commit_message: Optimize ${{steps.svgo.outputs.OPTIMIZED_COUNT}} SVG(s)