From ca9edc5fe392d0349e77c26b745cbef2f85b160e Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 22 Nov 2020 15:50:14 +0000 Subject: [PATCH] Fix failed develop updates within CI (#11001) * Fix inverted logic * skip locked instead of fail --- .github/workflows/develop_update.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/develop_update.yml b/.github/workflows/develop_update.yml index 101d235e049..635cf81e0cf 100644 --- a/.github/workflows/develop_update.yml +++ b/.github/workflows/develop_update.yml @@ -23,10 +23,13 @@ jobs: git checkout develop - name: Check if branch locked - run: | - test -e .locked || exit 1 + id: check_locked + uses: andstor/file-existence-action@v1 + with: + files: ".locked" - name: Update develop from master + if: steps.check_locked.outputs.files_exists == 'false' run: | git merge origin/master git push origin develop