Skip to content

Build(deps): Bump calibreapp/image-actions from 1.1.0 to 1.3.0 - #41679

Merged
XhmikosR merged 2 commits into
mainfrom
dependabot/github_actions/calibreapp/image-actions-1.3.0
Aug 27, 2025
Merged

XhmikosR merged 2 commits into
mainfrom
dependabot/github_actions/calibreapp/image-actions-1.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 27, 2025 •

Copy link
Copy Markdown
Contributor

Bumps calibreapp/image-actions from 1.1.0 to 1.3.0.

Release notes

Sourced from calibreapp/image-actions's releases.

1.3.0

In this release:

✨ Only optimise new or changed images (#339)

  • When your PR adds or updates images, image-actions will run on them
  • When run manually, scheduled, or in the event of an error all images will be processed (uses pre 1.3.0 behavior)

⚠️ When updating from versions prior to 1.2.0, please update configuration:

      - name: Compress Images
        uses: calibreapp/image-actions@main
        with:
          # The `GITHUB_TOKEN` is automatically generated by GitHub and scoped only to the repository that is currently running the action. By default, the action can’t update Pull Requests initiated from forked repositories.
          # See https://docs.github.com/en/actions/reference/authentication-in-a-workflow and https://help.github.com/en/articles/virtual-environments-for-github-actions#token-permissions
-         githubToken: ${{ secrets.GITHUB_TOKEN }}
+         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Other changes:

  • Updated README with updated config
  • Removed long-deprecated configuration method

Full Changelog: calibreapp/image-actions@1.2.0...1.3.0

1.2.0

It's been 5 years since the last release of image-actions. Image-actions was authored before GitHub Actions used YML, and before GitHub had packages like @actions/core, @actions/github and @octokit/action to ease authoring of Actions.

Since then, image-actions has been executed millions of times(!) and is used by a large number of people.

Personally, I'm not using image-actions often as I usually rely on image CDNs to optimise images on the fly. As a result of this, image-actions lagged on releases and fell behind on dependencies. Until today :-)

This maintenance release includes many changes and fixes, including:

  • Make use of @​actions/core, @​actions/github & octokit/action instead of legacy lib code
  • Updates all dependencies to latest
  • Update to Node 22
  • Runs TSC, Lint & Format check in CI
  • Removes TSC build, replaces with Experimental Node TS type stripping
  • Prepares for a more expected versioning & release process
  • Adds @​alexdupre's minPctChange configuration option (set to 5% by default)
  • Drops dependencies where possible
  • Changes default compression settings for better image visuals
  • Throttles requests to GitHub, reducing failures for large change sets
  • Limits to a maximum of 500 images changed per Pull Request
  • Truncates markdown report to list a maximum of 25 images

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Dependency updates (set by Dependabot) github_actions labels Aug 27, 2025
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/calibreapp/image-actions-1.3.0 branch from e3cef2f to 2d30e87 Compare August 27, 2025 19:11
Bumps [calibreapp/image-actions](https://github.com/calibreapp/image-actions) from 1.1.0 to 1.3.0.
- [Release notes](https://github.com/calibreapp/image-actions/releases)
- [Commits](calibreapp/image-actions@737ceea...51921e2)

---
updated-dependencies:
- dependency-name: calibreapp/image-actions
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/calibreapp/image-actions-1.3.0 branch from 2d30e87 to 182b72e Compare August 27, 2025 19:13
@XhmikosR
XhmikosR merged commit a360960 into main Aug 27, 2025
@XhmikosR
XhmikosR deleted the dependabot/github_actions/calibreapp/image-actions-1.3.0 branch August 27, 2025 19:31
mdo pushed a commit that referenced this pull request Aug 28, 2025
* Build(deps): Bump calibreapp/image-actions from 1.1.0 to 1.3.0

Bumps [calibreapp/image-actions](https://github.com/calibreapp/image-actions) from 1.1.0 to 1.3.0.
- [Release notes](https://github.com/calibreapp/image-actions/releases)
- [Commits](calibreapp/image-actions@737ceea...51921e2)

---
updated-dependencies:
- dependency-name: calibreapp/image-actions
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Change githubToken to GITHUB_TOKEN in workflow

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates (set by Dependabot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant