This commit is contained in:
boubou19 2025-07-23 20:06:07 +02:00
parent 480322a45e
commit 05f0d5948f

View File

@ -20,7 +20,6 @@ jobs:
find . -type f -name "*.png" ! -path "./.git/*" -exec optipng -o7 {} + find . -type f -name "*.png" ! -path "./.git/*" -exec optipng -o7 {} +
- name: Check for changes - name: Check for changes
id: git-diff
run: | run: |
if [[ -n "$(git status --porcelain)" ]]; then if [[ -n "$(git status --porcelain)" ]]; then
echo "Everything is already correctly compressed." echo "Everything is already correctly compressed."
@ -31,7 +30,6 @@ jobs:
fi fi
- name: Create Pull Request if Needed - name: Create Pull Request if Needed
if: steps.compress-images.outputs.markdown_report != ''
if: ${{ failure() && github.event_name == 'pull_request' && !github.event.pull_request.draft }} if: ${{ failure() && github.event_name == 'pull_request' && !github.event.pull_request.draft }}
run: | run: |
git config user.name "GitHub GTNH Actions" git config user.name "GitHub GTNH Actions"