Skip to content

Add Forgejo foundation app (#677) #123

Add Forgejo foundation app (#677)

Add Forgejo foundation app (#677) #123

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@v3
- name: Optimize SVGs
uses: ericcornelissen/svgo-action@v3
id: svgo
with:
repo-token: ${{secrets.GITHUB_TOKEN}}
svgo-config: .github/workflows/svgo.config.js
- 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)