mirror of
https://github.com/pi-hole/docs.git
synced 2026-04-17 23:53:15 +01:00
Bumps the github_action-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout). - [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/v4.0.0...v4.1.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github_action-dependencies ... 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@v4.1.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 }}
|