From 43a3a15ef48f0a6e8e6312cfb5a9d2ab8c51aa0c Mon Sep 17 00:00:00 2001 From: OpenShift Cherrypick Robot Date: Thu, 31 Oct 2024 14:35:57 +0100 Subject: [PATCH] [1.2.x] fix(ci): change fetch depth (#2468) fix(ci): change fetch depth Signed-off-by: Paul Schultz Co-authored-by: Paul Schultz --- .github/workflows/release.yaml | 2 +- .github/workflows/update-changeset-prs.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2329330997..fa2bff5dfe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,7 +15,7 @@ env: # enforce only one release action per release branch at a time concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: false + cancel-in-progress: true jobs: release: diff --git a/.github/workflows/update-changeset-prs.yaml b/.github/workflows/update-changeset-prs.yaml index 8981ac6686..9296f14a39 100644 --- a/.github/workflows/update-changeset-prs.yaml +++ b/.github/workflows/update-changeset-prs.yaml @@ -12,7 +12,7 @@ env: # enforce only one release action per release branch at a time concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: false + cancel-in-progress: true jobs: prev-commit: @@ -49,6 +49,7 @@ jobs: uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: token: ${{ steps.generate-token.outputs.token }} + fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4