Skip to content

Commit

Permalink
add image compression pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
NecatiMeral committed Jul 11, 2024
1 parent db341f3 commit 118759b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/image-compression.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Compress Images
on:
pull_request:
paths:
- "**.jpg"
- "**.jpeg"
- "**.png"
- "**.webp"
- "**.gif"
types:
- opened
- synchronize
- reopened
- ready_for_review
jobs:
build:
if: github.event.pull_request.head.repo.full_name == github.repository && !github.event.pull_request.draft
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Compress Images
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 118759b

Please sign in to comment.