Update img.yml
This commit is contained in:
14
.github/workflows/img.yml
vendored
14
.github/workflows/img.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user