Skip to content

Issue Guides #102

Issue Guides #102 #149

Workflow file for this run

name: Compress Images
on:
pull_request:
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
concurrency:
group: compress-images-${{ github.ref_name }}
cancel-in-progress: true
jobs:
run:
# Only run on Pull Requests within the same repository, and not from forks.
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Compress Images
uses: calibreapp/image-actions@04831e32337cfbe14b4b2952e5c4aac651f32ec5
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}