You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Image Actions will run in the following scenarios:# - on Pull Requests containing images (not including forks)# - on pushing of images to `master` (for forks)# - on demand# - at 11 PM every Sunday in anything gets missed with any of the above scenarios# For Pull Requests, the images are added to the PR.# For other scenarios, a new PR will be opened if any images are compressed.name: Compress imageson:
pull_request:
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'push:
branches:
- masterpaths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'workflow_dispatch:
schedule:
- cron: '00 23 * * 0'jobs:
compressImages:
name: calibreapp/image-actionsruns-on: ubuntu-latestif: | github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repositorysteps:
- name: Checkout Branchuses: actions/checkout@v3
- name: Compress Imagesid: calibreuses: calibreapp/image-actions@mainwith:
githubToken: ${{ secrets.GITHUB_TOKEN }}compressOnly: ${{ github.event_name != 'pull_request' }}
- name: Create Pull Requestif: | github.event_name != 'pull_request' && steps.calibre.outputs.markdown != ''uses: peter-evans/create-pull-request@v4with:
title: Auto Compress Imagesbranch-suffix: timestampcommit-message: Compress Imagesbody: ${{ steps.calibre.outputs.markdown }}
Screenshots
Relevant Log Output
Code of Conduct
I agree to follow this project’s Code of Conduct
The text was updated successfully, but these errors were encountered:
Confirming, can see that the background colour is #03CBCF in left, and #00CACF in the right image.
@ethanneff have you inspected if there is a colour profile attached to your original image? afaik image-actions removes image metadata, so (maybe) it's possible that the colour profile is being dropped also 🤔
Describe the bug
changes the color of images
before|after
How To Reproduce
example image
example github action
Screenshots
Relevant Log Output
Code of Conduct
The text was updated successfully, but these errors were encountered: