1
0
mirror of synced 2026-01-05 12:07:35 -05:00

Optimize images (#24959)

* Update optimize-images.yml

* Optimize images

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
github-actions[bot]
2022-02-02 23:31:39 +00:00
committed by GitHub
parent 5a240c94aa
commit c028121e65
6 changed files with 3 additions and 2 deletions

View File

@@ -37,7 +37,8 @@ jobs:
fi
echo "Make a new branch"
git checkout -b "optimize-images-$(date +'%Y%m%d%H%M%S')"
BRANCH="optimize-images-$(date +'%Y%m%d%H%M%S')"
git checkout -b $BRANCH
echo "Make a commit"
git config user.name github-actions
@@ -46,7 +47,7 @@ jobs:
git commit --message="Optimize images"
echo "Push up changes"
git push
git push --set-upstream origin $BRANCH
echo "Open a pull request"
gh pr create --title "Optimize images" --body "Optimize images"