Skip to content

Commit c36dd24

Browse files
[AAP-45949] Changing from hard coded SONAR_TOKEN to the orgs token (#732)
1 parent 18d07bc commit c36dd24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
if: matrix.tests.sonar && github.event_name == 'push' && github.repository == 'ansible/django-ansible-base'
7272
env:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
74+
SONAR_TOKEN: ${{ secrets.CICD_ORG_SONAR_TOKEN_CICD_BOT }}
7575

7676
- name: Upload jUnit XML test results
7777
if: matrix.tests.junit-xml-upload && github.event_name == 'push' && github.repository == 'ansible/django-ansible-base' && github.ref_name == 'devel'

.github/workflows/sonar-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: SonarSource/sonarqube-scan-action@master
5757
env:
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
59+
SONAR_TOKEN: ${{ secrets.CICD_ORG_SONAR_TOKEN_CICD_BOT }}
6060
with:
6161
args: >
6262
-Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }}

0 commit comments

Comments
 (0)