Skip to content

feat(advanced_app): advanced app documentation #74

feat(advanced_app): advanced app documentation

feat(advanced_app): advanced app documentation #74

Workflow file for this run

name: Compress Images
on:
pull_request:
# Run Image Actions when JPG, JPEG, PNG or WebP files are added or changed
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
- '.github/workflows/compress-images.yml'
permissions:
pull-requests: write
contents: write
jobs:
compress:
# The GITHUB_TOKEN only has read permissions when the Pull Request is created from a forked repositories
# It doesn't allow `image-actions` to push to the related branch nor to create PR comment
if: ${{ !github.event.pull_request.head.repo.fork }}
name: calibreapp/image-actions
runs-on: ubuntu-22.04
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Compress Images
uses: calibreapp/image-actions@790ef463cba7b26ed3b1c80c1449deb72d4c0bcc
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}