From d8be81d2889778b5fe1c43acb0eb3513500ca246 Mon Sep 17 00:00:00 2001 From: Jason Deal Date: Thu, 5 Oct 2023 09:50:19 -0700 Subject: [PATCH] fix: add checkout to snapshot / release workflows (#4751) --- .github/workflows/release.yaml | 3 +++ .github/workflows/snapshot.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 32aa00e64333..345e2b673db4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,6 +7,9 @@ jobs: if: github.repository == 'aws/karpenter' runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Create GitHub Release uses: 'marvinpinto/action-automatic-releases@latest' with: diff --git a/.github/workflows/snapshot.yaml b/.github/workflows/snapshot.yaml index a584b0da2ac2..81c52a65a397 100644 --- a/.github/workflows/snapshot.yaml +++ b/.github/workflows/snapshot.yaml @@ -7,6 +7,9 @@ jobs: if: github.repository == 'aws/karpenter' runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: ./.github/actions/install-deps - uses: aws-actions/configure-aws-credentials@v1-node16 with: