chore(ci): pin calibreapp/image-actions version

This commit is contained in:
2025-03-17 12:47:34 +02:00
committed by GitHub
parent 2a2ccc9b61
commit cb183a2cb9
2 changed files with 3 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ name: Compress Images on Demand
on:
workflow_dispatch:
schedule:
- cron: '00 23 * * 0'
- cron: "00 23 * * 0"
permissions: read-all
@@ -21,10 +21,9 @@ jobs:
- name: Compress Images
id: calibre
uses: calibreapp/image-actions@main
uses: calibreapp/image-actions@737ceeaeed61e17b8d358358a303f1b8d177b779 # 1.1.0
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
compressOnly: true
- name: Create New Pull Request If Needed
if: steps.calibre.outputs.markdown != ''

View File

@@ -24,11 +24,6 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Compress Images
uses: calibreapp/image-actions@main
uses: calibreapp/image-actions@737ceeaeed61e17b8d358358a303f1b8d177b779 # 1.1.0
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 cant 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 }}