Skip to content

Commit baec102

Browse files
authored
Update optimize-images.yml (#24912)
1 parent 9a51cd1 commit baec102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/optimize-images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
- name: Make a branch, commit, push, and pull request
3131
run: |
3232
echo "If there's no changes, exit"
33-
if [[ `git status --porcelain` ]]
33+
if [[ ! `git status --porcelain` ]]
3434
then
35-
else
35+
echo "No changes found"
3636
exit 0
3737
fi
3838

0 commit comments

Comments
 (0)