From 20c53576722a3f0c205658bb7417150b5560f655 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Sun, 10 Jul 2022 17:30:41 +0100 Subject: [PATCH] Disable shallow clone --- .github/workflows/merge-to-main.yml | 2 ++ .github/workflows/pull-request.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/merge-to-main.yml b/.github/workflows/merge-to-main.yml index 0aeea5a..17b1399 100644 --- a/.github/workflows/merge-to-main.yml +++ b/.github/workflows/merge-to-main.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Setup Python uses: actions/setup-python@v4 with: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index e826674..43144b9 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -16,6 +16,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 - name: Setup Python uses: actions/setup-python@v4 with: