From dd11acec3fd800a8742d16424eddf9c0a8ca73ad Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 4 Dec 2023 10:15:00 -0500 Subject: [PATCH] only:handling Connectors: looks like nothing to commit --- .github/workflows/custom-board-build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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