Skip to content

Commit

Permalink
auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchrish committed Aug 17, 2024
1 parent 8aace34 commit 36ce4ac
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/create-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,10 @@ jobs:
path: zenbones-mono/images
merge-multiple: true

- name: Commit and push image changes
working-directory: zenbones-mono
run: |
git add images/*.png
git config --local user.email "hello@michaelchris.space"
git config --local user.name "Michael Chris Lopez"
status=$(git status --porcelain)
if [[ -z "$status" ]]; then
echo "No changes to commit"
exit 0
else
git commit -m "Update images"
git push
fi
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(build): update images"
commit_user_name: "github-actions[bot]"
commit_user_email: "github-actions[bot]@users.noreply.github.com"
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"

0 comments on commit 36ce4ac

Please sign in to comment.