mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Handle no updates
This commit is contained in:
parent
218058cfd5
commit
af5b8c181a
9
.github/scripts/update-lockfiles.sh
vendored
9
.github/scripts/update-lockfiles.sh
vendored
|
@ -11,5 +11,12 @@ update_lockfiles
|
|||
update_lockfiles
|
||||
update_lockfiles
|
||||
|
||||
git -c user.name="GBA bot" -c user.email="gw@ilym.me" commit -a -m 'Update lockfiles'
|
||||
git add -u
|
||||
|
||||
if [ "$(git diff --cached --name-only)" == '' ]; then
|
||||
echo "No files updated"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
git -c user.name="GBA bot" -c user.email="gw@ilym.me" commit -m 'Update lockfiles'
|
||||
git push
|
||||
|
|
Loading…
Reference in a new issue