From bb5df0391f418dd5e0fffb202694d7b45b48219f Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Tue, 30 Jul 2024 10:55:40 +0100 Subject: [PATCH] Workflows: Fetch full history --- .github/workflows/pr.yml | 2 ++ .github/workflows/root.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index e4ceddb..1dfa499 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -21,7 +21,9 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} diff --git a/.github/workflows/root.yml b/.github/workflows/root.yml index 377ab28..70a66cc 100644 --- a/.github/workflows/root.yml +++ b/.github/workflows/root.yml @@ -21,6 +21,9 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Install node uses: actions/setup-node@v4 with: