From 2faceea420788bf8815658334f2f88b84f1b6973 Mon Sep 17 00:00:00 2001 From: Mike Delago <32778141+michaeldelago@users.noreply.github.com> Date: Sun, 10 Sep 2023 04:01:57 -0400 Subject: [PATCH] fix(CI): rebase instead of unshallow fetch (#17226) --- .github/workflows/import_pending.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/import_pending.yml b/.github/workflows/import_pending.yml index 468af12e3..ca4ef5771 100644 --- a/.github/workflows/import_pending.yml +++ b/.github/workflows/import_pending.yml @@ -29,7 +29,8 @@ jobs: git config user.email "azerothcorebot@gmail.com" && git config user.name "AzerothCoreBot" bash bin/acore-db-pendings deno run --allow-all --unstable apps/ci/ci-pending-changelogs.ts - git fetch --unshallow origin "${{ github.ref_name }}" + # Get the latest changes from git + git pull --rebase origin "${{ github.ref_name }}" git add -A . git commit -am "chore(DB): import pending files" -m "Referenced commit(s): ${GITHUB_SHA}" || true env: