From d9a4a3a6774131a150ade4ee6f4f832121c4c238 Mon Sep 17 00:00:00 2001 From: Andreas Leibrock Date: Fri, 8 Dec 2023 09:30:18 +0100 Subject: [PATCH] provide the token to the pipeline --- .github/workflows/gradle.yml | 1 + .github/workflows/pullrequests.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 339cd7e..07b301f 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -29,6 +29,7 @@ jobs: uses: gradle/gradle-build-action@87a9a15658c426a54dd469d4fc7dc1a73ca9d4a6 # v2.10.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} arguments: build sonar -Preckon.stage=final -Preckon.scope=patch reckonTagCreate - name: Push git tag uses: gradle/gradle-build-action@87a9a15658c426a54dd469d4fc7dc1a73ca9d4a6 # v2.10.0 diff --git a/.github/workflows/pullrequests.yml b/.github/workflows/pullrequests.yml index 9abf0d8..83a464b 100644 --- a/.github/workflows/pullrequests.yml +++ b/.github/workflows/pullrequests.yml @@ -25,5 +25,6 @@ jobs: with: GPR_USERNAME: ${{ github.actor }} GPR_PASSWORD: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} arguments: build sonar