mirror of
https://github.com/pi-hole/docs.git
synced 2026-04-17 23:53:15 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.5.2...v3.5.3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
25 lines
633 B
YAML
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.5.3
|
|
|
|
- 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 }}
|