Files
docs/.github/workflows/calibreapp-image-actions.yml
Christian König ce1bad0b2a Explicit set minor and patch version on used actions
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-24 22:30:43 +02:00

25 lines
633 B
YAML

name: Compress Images
on:
pull_request:
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
jobs:
build:
# Only run on Pull Requests within the same repository, and not from forks.
if: github.event.pull_request.head.repo.full_name == github.repository
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3.0.0
- name: Compress Images
uses: calibreapp/image-actions@1.1.0 # TODO: if they start using a tag like v1, switch to that
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}