mirror of
https://github.com/ivuorinen/sysvinit-service-generator.git
synced 2026-02-04 06:47:20 +00:00
chore(ci): pin calibreapp/image-actions version
This commit is contained in:
5
.github/workflows/compress-images.yml
vendored
5
.github/workflows/compress-images.yml
vendored
@@ -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 != ''
|
||||
|
||||
7
.github/workflows/pr-compress-images.yml
vendored
7
.github/workflows/pr-compress-images.yml
vendored
@@ -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 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 }}
|
||||
|
||||
Reference in New Issue
Block a user