Skip to content

Rename FlowFuse Assistant and related references to FlowFuse Expert #4427

Rename FlowFuse Assistant and related references to FlowFuse Expert

Rename FlowFuse Assistant and related references to FlowFuse Expert #4427

name: Compress images
on:
pull_request:
branches:
- main
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
jobs:
build:
name: calibreapp/image-actions
runs-on: ubuntu-latest
if: github.repository == 'FlowFuse/website' && github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Checkout Branch
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Compress Images
id: calibre
uses: calibreapp/image-actions@f32575787d333b0579f0b7d506ff03be63a669d1 # 1.4.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# For non-Pull Requests, run in compressOnly mode and we'll PR after.
compressOnly: ${{ github.event_name != 'pull_request' }}
pngQuality: '100'