From fb0e4217eb397116c39428242e64a42a8c3a55e0 Mon Sep 17 00:00:00 2001 From: Domenic Barbuzzi Date: Tue, 23 Jul 2024 15:48:58 +0000 Subject: [PATCH] Update use of git fetch --- .github/actions/nm-github-action-benchmark/action.yaml | 1 - .github/workflows/process-benchmark-results.yaml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/nm-github-action-benchmark/action.yaml b/.github/actions/nm-github-action-benchmark/action.yaml index 7b732b8..a0202e7 100644 --- a/.github/actions/nm-github-action-benchmark/action.yaml +++ b/.github/actions/nm-github-action-benchmark/action.yaml @@ -26,7 +26,6 @@ runs: # inconsistent state. - name: reset github pages branch run: | - git fetch git update-ref refs/heads/${{ inputs.gh_pages_branch }} origin/${{ inputs.gh_pages_branch }} shell: bash diff --git a/.github/workflows/process-benchmark-results.yaml b/.github/workflows/process-benchmark-results.yaml index 1bf89e0..4943b54 100644 --- a/.github/workflows/process-benchmark-results.yaml +++ b/.github/workflows/process-benchmark-results.yaml @@ -13,6 +13,8 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Parse triggering request shell: bash