From 53072ff466daab1c13b77356d9e49c3b6c3bc4f8 Mon Sep 17 00:00:00 2001 From: bri Date: Sat, 24 Feb 2024 13:52:18 -0500 Subject: [PATCH] fix logic --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 946e42fa..67c095a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -360,7 +360,7 @@ jobs: git config user.name "Git Bot" - name: Create and merge PR run: | - if ! git diff-files --quiet ; then + if git diff-files --quiet ; then git switch -c updates-${{ github.run_id }} git commit -am "flake.lock: Update" git push -u origin updates-${{ github.run_id }}