From 22a4fdbb25e11ac39aafb22c58b9693d64f556b7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 08:11:03 +0000 Subject: [PATCH] Chore: Update DevOps tooling from central repository --- .github/workflows/bootstrap.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/bootstrap.yaml b/.github/workflows/bootstrap.yaml index e5b41a51..50499f80 100644 --- a/.github/workflows/bootstrap.yaml +++ b/.github/workflows/bootstrap.yaml @@ -60,6 +60,11 @@ jobs: for FILE in ${FILES}; do cp .devops/"$FILE" "$FILE" done + # If no changes required, do not throw an error + git status + if [ $? -eq 0 ]; then + echo "No updates/changes to commit"; exit 0 + fi git add . git commit -m "Chore: Update DevOps tooling from central repository" git push --set-upstream origin update-devops-tooling