diff --git a/.github/workflows/custom-board-build.yaml b/.github/workflows/custom-board-build.yaml index 6fd1c3ef7b..7d4092e82a 100644 --- a/.github/workflows/custom-board-build.yaml +++ b/.github/workflows/custom-board-build.yaml @@ -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