From 36ef99f1ed8c193e8c9f9b442253b54bcb4ff8b1 Mon Sep 17 00:00:00 2001 From: w3stling Date: Mon, 28 Aug 2023 15:52:31 +0200 Subject: [PATCH] Updated build script --- .github/workflows/build.yml | 9 +++++++++ .github/workflows/codeql-analysis.yml | 3 +++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d8c822a..62a8a726 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,6 +79,9 @@ jobs: steps: - name: Checkout repository ⚙️ uses: actions/checkout@v3 + with: + # Disabling shallow clone is recommended for improving relevancy of reporting + fetch-depth: 0 - name: Set up JDK 17 ⚙️ uses: actions/setup-java@v3 @@ -130,6 +133,9 @@ jobs: steps: - name: Checkout repository ⚙️ uses: actions/checkout@v3 + with: + # Disabling shallow clone is recommended for improving relevancy of reporting + fetch-depth: 0 - name: Set up JDK 17 ⚙️ uses: actions/setup-java@v3 @@ -182,6 +188,9 @@ jobs: steps: - name: Checkout repository ⚙️ uses: actions/checkout@v3 + with: + # Disabling shallow clone is recommended for improving relevancy of reporting + fetch-depth: 0 - name: Set up JDK 17 ⚙️ uses: actions/setup-java@v3 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d9d76199..8ce56039 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -30,6 +30,9 @@ jobs: steps: - name: Checkout repository ⚙️ uses: actions/checkout@v3 + with: + # Disabling shallow clone is recommended for improving relevancy of reporting + fetch-depth: 0 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL