Try to use a token from ElementBot, to let PR created from fork be able to run this step.

This commit is contained in:
Benoit Marty 2022-07-29 14:56:10 +02:00 committed by Benoit Marty
parent 5b9c7c3b27
commit 619e5dd7d1

View file

@ -73,7 +73,7 @@ jobs:
- run: ./gradlew sonarqube $CI_GRADLE_ARG_PROPERTIES
if: always() # we may have failed a previous step and retried, that's OK
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
GITHUB_TOKEN: ${{ secrets.SONARQUBE_GITHUB_API_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
ORG_GRADLE_PROJECT_SONAR_LOGIN: ${{ secrets.SONAR_TOKEN }}