only:handling Connectors: looks like nothing to commit
This commit is contained in:
parent
70ce51b3f2
commit
dd11acec3f
|
@ -82,7 +82,11 @@ jobs:
|
|||
- name: Push Connectors
|
||||
run: |
|
||||
git add connectors/*
|
||||
git commit -am "GHA Connectors Generated"
|
||||
OUT=$(git commit -am "GHA Connectors Generated" 2>&1) || echo "commit failed, finding out why"
|
||||
if echo "$OUT" | grep 'nothing to commit'; then
|
||||
echo "Connectors: looks like nothing to commit"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
- name: Push
|
||||
uses: ad-m/github-push-action@master
|
||||
|
|
Loading…
Reference in New Issue