From a155c7e4a41797e48b0be07c8be5b05dd47bf1fe Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Fri, 19 Jan 2024 18:30:13 +0200 Subject: [PATCH] [CI] Disable shallow clones --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac40f3b..98db2b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up JDK 17 uses: actions/setup-java@v3 with: @@ -19,4 +21,6 @@ jobs: - name: Build run: ./gradlew spotlessCheck build jacocoTestReport sonar env: - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} \ No newline at end of file + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file