From bb9c56c9d5a67f0c629f7877e480a45d849c58b3 Mon Sep 17 00:00:00 2001 From: Kevin Minehart <5140827+kminehart@users.noreply.github.com> Date: Tue, 29 Apr 2025 20:19:36 -0500 Subject: [PATCH] CI: use shallow clone with backport action (#104750) use shallow clone with backport action --- .github/workflows/backport.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 673dc228fc2..278f7ac2209 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -18,6 +18,8 @@ jobs: uses: actions/checkout@v4 # 4.2.2 with: persist-credentials: false + fetch-depth: 1 + fetch-tags: false - run: git config --local user.name "github-actions[bot]" - run: git config --local user.email "github-actions[bot]@users.noreply.github.com" - run: git config --local --add --bool push.autoSetupRemote true