From a351744ec7685d769e01fced295d1f6df29aa0ef Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Sun, 16 Jul 2023 16:55:51 +0200 Subject: [PATCH] Checkout all branches/history in workflows Otherwise that branch check in the release job fails. And who knows what else will fail in the future, so lets not be stingy. --- .github/workflows/build-app.yaml | 2 ++ .github/workflows/image-builder-template.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/build-app.yaml b/.github/workflows/build-app.yaml index 2d9fec7b..8c1c84d2 100644 --- a/.github/workflows/build-app.yaml +++ b/.github/workflows/build-app.yaml @@ -24,6 +24,7 @@ jobs: - uses: actions/checkout@v3 with: submodules: true + fetch-depth: 0 - name: build run: | @@ -51,6 +52,7 @@ jobs: - uses: actions/checkout@v3 with: submodules: true + fetch-depth: 0 - name: Ensure release branch run: | diff --git a/.github/workflows/image-builder-template.yaml b/.github/workflows/image-builder-template.yaml index fe6dfe25..3a6d4071 100644 --- a/.github/workflows/image-builder-template.yaml +++ b/.github/workflows/image-builder-template.yaml @@ -22,6 +22,7 @@ jobs: - uses: actions/checkout@v3 with: submodules: true + fetch-depth: 0 - uses: docker/setup-buildx-action@v2