diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index af518708..3dc553a5 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -54,17 +54,17 @@ jobs: - name: Build, Test and Analyze env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_TOKEN_AS: ${{ secrets.SONAR_TOKEN_AS }} run: | dotnet-sonarscanner begin \ - /k:"DFE-Digital_childrens-social-care-cpd" \ - /o:"dfe-digital" \ + /k:"as2024ad_sfsw" \ + /o:"as2024ad" \ /d:sonar.qualitygate.wait=true \ /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml \ /d:sonar.exclusions="**/*.css,**/*.scss,**/Models/*,**/Program.cs,**/WebApplicationBuilderExtensions.cs,**/GraphQL/Queries/*,**/Contentful-Schema/migrations/*.cjs" \ /d:sonar.test.exclusions="Childrens-Social-Care-CPD-Tests/**/*,Terraform-bootstrap/Error-pages/*" \ - /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \ + /d:sonar.token="${{ secrets.SONAR_TOKEN_AS }}" \ /d:sonar.host.url="https://sonarcloud.io" dotnet build --no-incremental dotnet-coverage collect --settings dotnet-cover-config.xml -f xml -o coverage.xml "dotnet test" - dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" + dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN_AS }}"