From 723a305dd7d810ff7a9e8010bb01704581a84f5f Mon Sep 17 00:00:00 2001 From: as2024ad <183369419+as2024ad@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:08:01 +0000 Subject: [PATCH] Add exclusion for error pages to sonarqube.yml --- .github/workflows/sonarqube.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index b3e67aef..af1390ad 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -60,7 +60,7 @@ jobs: /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/**/*" \ + /d:sonar.test.exclusions="Childrens-Social-Care-CPD-Tests/**/*,Terraform-bootstrap/Error-pages/*" \ /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \ /d:sonar.host.url="https://sonarcloud.io" dotnet build --no-incremental