From 8e7b4bffafff5d70343982f8d1e7b25565e8ddc0 Mon Sep 17 00:00:00 2001 From: wellwelwel <46850407+wellwelwel@users.noreply.github.com> Date: Tue, 21 May 2024 03:38:47 -0300 Subject: [PATCH] ci(bot): change steps order --- .github/workflows/bot_deps-update.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/bot_deps-update.yml b/.github/workflows/bot_deps-update.yml index 7f530f06..a99d8304 100644 --- a/.github/workflows/bot_deps-update.yml +++ b/.github/workflows/bot_deps-update.yml @@ -42,18 +42,18 @@ jobs: exit 1 fi - - name: 📦 Installing Dependencies - run: cd ${{ env.PACKAGE_PATH }} && npm ci - - - name: ⏫ Updating Dependencies - run: cd ${{ env.PACKAGE_PATH }} && npm run update - - name: ⚙️ Configuring Git run: | git config --global user.name 'wellwelwel' git config --global user.email '46850407+wellwelwel@users.noreply.github.com' git update-index --refresh > /dev/null 2>&1 || true + - name: 📦 Installing Dependencies + run: cd ${{ env.PACKAGE_PATH }} && npm ci + + - name: ⏫ Updating Dependencies + run: cd ${{ env.PACKAGE_PATH }} && npm run update + - name: 🔎 Checking for Changes id: check_changes run: | @@ -77,7 +77,7 @@ jobs: run: | git add . git commit -m "${{ env.TITLE }}" - git push origin HEAD:${{ env.BRANCH }} --force + git push origin HEAD:refs/heads/${{ env.BRANCH }} --force env: GITHUB_TOKEN: ${{ secrets.PAT }}