Skip to content

Added urlencode so it accepts special characters (#786) #211

Added urlencode so it accepts special characters (#786)

Added urlencode so it accepts special characters (#786) #211

Workflow file for this run

---
# GitHub Action uses SVGO to Minify and removeDimensions of SVG files
name: Optimize SVG Files
on:
push:
branches: [master]
permissions:
contents: write
jobs:
svgs:
name: SVGs
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Optimize SVGs
uses: ericcornelissen/svgo-action@v4
id: svgo
with:
repo-token: ${{secrets.GITHUB_TOKEN}}
svgo-config: .github/workflows/svgo.config.js
- name: Commit optimizations
uses: stefanzweifel/git-auto-commit-action@v5
if: ${{steps.svgo.outputs.DID_OPTIMIZE}}
with:
commit_message: Optimize ${{steps.svgo.outputs.OPTIMIZED_COUNT}} SVG(s) # yamllint disable-line rule:line-length