diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75c2ff0..785e58b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,7 @@ jobs: - name: Run SonarCloud Analysis run: ./gradlew sonar env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_TOKEN: ${{ secrets.DHIS2_BOT_SONARCLOUD_TOKEN }} GIT_BRANCH: ${{ github.ref_name }} publish: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0fce22a..e1e076f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -32,7 +32,7 @@ jobs: - name: Run SonarCloud Analysis run: ./gradlew sonar env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_TOKEN: ${{ secrets.DHIS2_BOT_SONARCLOUD_TOKEN }} GIT_BRANCH: ${{ github.ref_name}} GIT_BRANCH_DEST: ${{ github.base_ref }} PULL_REQUEST: ${{ github.event.pull_request.number }}