Skip to content

Commit 331409f

Browse files
Merge pull request #183 from dhis2/sonar-token
chore: [skip publish] Use DHIS2 Bot sonar token
2 parents 4039ff4 + d9d8dca commit 331409f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Run SonarCloud Analysis
3939
run: ./gradlew sonar
4040
env:
41-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
41+
SONAR_TOKEN: ${{ secrets.DHIS2_BOT_SONARCLOUD_TOKEN }}
4242
GIT_BRANCH: ${{ github.ref_name }}
4343

4444
publish:

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Run SonarCloud Analysis
3333
run: ./gradlew sonar
3434
env:
35-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
35+
SONAR_TOKEN: ${{ secrets.DHIS2_BOT_SONARCLOUD_TOKEN }}
3636
GIT_BRANCH: ${{ github.ref_name}}
3737
GIT_BRANCH_DEST: ${{ github.base_ref }}
3838
PULL_REQUEST: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)