From a3c02e04dbeed053a26511fb64c8228d4607e29c Mon Sep 17 00:00:00 2001 From: Michael Fortunato Date: Wed, 10 Apr 2024 00:41:23 -0400 Subject: [PATCH] ci: add fetch depth max 2000, to get git history. --- .github/workflows/deploy-dev.yaml | 2 ++ .github/workflows/deploy-prod.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/deploy-dev.yaml b/.github/workflows/deploy-dev.yaml index d400d5a..bb4468f 100644 --- a/.github/workflows/deploy-dev.yaml +++ b/.github/workflows/deploy-dev.yaml @@ -15,6 +15,8 @@ jobs: environment: Preview steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Use Node.js 20.x uses: actions/setup-node@v4 with: diff --git a/.github/workflows/deploy-prod.yaml b/.github/workflows/deploy-prod.yaml index 46498e6..225fd83 100644 --- a/.github/workflows/deploy-prod.yaml +++ b/.github/workflows/deploy-prod.yaml @@ -15,6 +15,8 @@ jobs: environment: Production steps: - uses: actions/checkout@v2 + with: + fetch-depth: 2000 - name: Use Node.js 20.x uses: actions/setup-node@v4 with: