From 358bd9108b6104560c34e936ff4a8ce1645b4656 Mon Sep 17 00:00:00 2001 From: Alexander Saprykin Date: Wed, 16 Oct 2024 14:11:03 +0200 Subject: [PATCH] Disable shallow clone in CI jobs SonarCloud analysis may work incorrectly when repository is cloned in shallow clone mode. --- .github/workflows/ci_full.yml | 2 ++ .github/workflows/sonar-pr.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci_full.yml b/.github/workflows/ci_full.yml index 37f556714f..f59f9973a0 100644 --- a/.github/workflows/ci_full.yml +++ b/.github/workflows/ci_full.yml @@ -60,6 +60,8 @@ jobs: python-version: "3.11" - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: checkout dab run: | diff --git a/.github/workflows/sonar-pr.yaml b/.github/workflows/sonar-pr.yaml index 67e51985d4..352d3219d6 100644 --- a/.github/workflows/sonar-pr.yaml +++ b/.github/workflows/sonar-pr.yaml @@ -16,6 +16,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 show-progress: false - uses: actions/download-artifact@v4