From f601d2c698f79e2cd918e21baa904b66c8ae20ce Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Thu, 1 Aug 2024 14:43:13 +1000 Subject: [PATCH] 567r56erd654er --- .github/workflows/merge.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index e27c853..ebce437 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -11,9 +11,9 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: refs/heads/main + ref: ${{ github.event.pull_request.head.sha }} token: ${{ secrets.GITHUB_TOKEN }} - fetch-tags: true + # fetch-tags: true # fetch-depth: 0 # - name: stinky but # run: git sparse-checkout disable; git checkout origin/main @@ -22,12 +22,7 @@ jobs: - name: shallow run: cat .git/shallow - name: deepen tree - run: | - depth=0 - while ! git describe --tags main; do - depth=$((depth + 1)) - git fetch --tags --recurse-submodules=no --depth $depth origin main - done + run: git fetch --shallow-since 2023-08-17 --tags --recurse-submodules=no - name: status run: git status - name: descibe