Don’t fail if no changes

This commit is contained in:
Cameron Booth
2020-05-20 16:31:20 -07:00
parent 9ea914b370
commit 74c1e87c6b
+5 -1
View File
@@ -24,5 +24,9 @@ jobs:
working-directory: ./script/sync-ghes
- run: |
git add -A
git commit -m "Updating GHES workflows"
if [ -z "$(git status --porcelain)" ]; then
echo "No changes to commit"
else
git commit -m "Updating GHES workflows"
fi
- run: git push