From 489b7393fdc23be1c19da63bfa36b9ab557fb008 Mon Sep 17 00:00:00 2001 From: Ismoh <12631485+Ismoh@users.noreply.github.com> Date: Sat, 15 Jul 2023 19:02:40 +0200 Subject: [PATCH] master Fixed push when there are no changes. --- .github/workflows/dependency-updater.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependency-updater.yml b/.github/workflows/dependency-updater.yml index 2a3cf9d44..56a3ef799 100644 --- a/.github/workflows/dependency-updater.yml +++ b/.github/workflows/dependency-updater.yml @@ -180,8 +180,8 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - git pull origin dependency-updates || echo "There are no changes!"; Exit 0 - git push origin dependency-updates + git pull origin dependency-updates + git push origin dependency-updates || echo "There are no changes!"; Exit 0 $prTitleArray = gh pr list --head "dependency-updates" --json "title" | ConvertFrom-Json if ($prTitleArray.Count -gt 0) {