Merge pull request #518 from cdb/cdb/dont-fail-on-no-changes

Don't fail GHES workflow if nothing changed
This commit is contained in:
Cameron Booth
2020-05-20 16:43:49 -07:00
committed by GitHub
2 changed files with 7 additions and 1 deletions
+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
+2
View File
@@ -1,3 +1,5 @@
name: Validate Data
on:
push:
pull_request: