Skip to content

Commit

Permalink
Update imagecompress.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeSteam authored Feb 18, 2024
1 parent c2c9e6a commit 1562e15
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/imagecompress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,11 @@ jobs:
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
compressOnly: true
- name: Short markdown
id: short-markdown
run: |
markdown=$(echo ${{steps.calibre.outputs.markdown}} | cut -c 1-1000)
echo "::set-output name=markdown::$markdown"
- name: Create New Pull Request If Needed
if: steps.calibre.outputs.markdown != ''
uses: peter-evans/create-pull-request@v6
with:
title: Compressed Images
branch-suffix: timestamp
commit-message: Compressed Images
body: ${{ steps.short-markdown.outputs.markdown }}
body: ""

0 comments on commit 1562e15

Please sign in to comment.