1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-06 11:22:23 +04:00
Files
tabler/.github/workflows/calibreapp-image-actions.yml
T
2026-07-28 00:09:02 +02:00

31 lines
677 B
YAML

name: Compress Images
on:
pull_request:
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
permissions:
contents: write
pull-requests: write
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@v7
with:
persist-credentials: false
- name: Compress Images
uses: calibreapp/image-actions@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}