From e01bea71e0ac99803c069ac65f40ad7ba4c36b4f Mon Sep 17 00:00:00 2001 From: splincode Date: Mon, 2 Oct 2023 12:09:15 +0300 Subject: [PATCH] chore: update yml --- .github/workflows/auto-sync-submodule.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-sync-submodule.yml b/.github/workflows/auto-sync-submodule.yml index 038c1cd2d..b7142cc2c 100644 --- a/.github/workflows/auto-sync-submodule.yml +++ b/.github/workflows/auto-sync-submodule.yml @@ -45,7 +45,7 @@ jobs: id: git - name: Reinstall node_modules - if: ${{ steps.git.outputs.modified != "false" }} + if: steps.git.outputs.modified == 'true' run: | echo "Run npm install..." rm -rf package-lock.json node_modules @@ -53,7 +53,7 @@ jobs: git add . - name: Create Pull Request - if: ${{ steps.git.outputs.modified != "false" }} + if: steps.git.outputs.modified == 'true' uses: peter-evans/create-pull-request@v5 with: delete-branch: true