Update img.yml

This commit is contained in:
Fundor333
2024-02-26 01:06:06 +01:00
committed by GitHub
parent d2eff7ace0
commit d1f514dc2a

View File

@@ -6,17 +6,7 @@
# 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 images
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pages: write
id-token: write
pull-requests: write
on:
# Run when the main branch is pushed or a pull request is made
push:
@@ -47,4 +37,4 @@ jobs:
title: Auto Compress Images
branch-suffix: timestamp
commit-message: Compress Images
body: ${{ steps.calibre.outputs.markdown }}
body: ${{ steps.calibre.outputs.markdown }}