From 3998048c3d3d01fea7980b44ce3558c0857e5170 Mon Sep 17 00:00:00 2001 From: Marc Lichtman Date: Tue, 3 Sep 2024 15:14:16 -0400 Subject: [PATCH] add fetch depth --- .github/workflows/pr.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 77384a26..a3c1ec0a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,13 +10,15 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: 'Get Previous tag' - id: mostrecenttag + id: most-recent-tag uses: "WyriHaximus/github-action-get-previous-tag@v1" - name: TEMPORARY - run: echo ${{ github.run_number }} && echo ${{ github.ref_name }} && echo ${{ steps.mostrecenttag.outputs.tag }} + run: echo ${{ github.run_number }} && echo ${{ github.ref_name }} && echo ${{ steps.most-recent-tag.outputs.tag }} - name: Set Azurite Default Key run: echo "AZURITE_ACCOUNT_KEY=$(curl https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azurite | grep "Account key:" | cut -b 24-111)" >> $GITHUB_ENV