From efe0aa24df72e2d44bbff9d5ab0bf84898d697b0 Mon Sep 17 00:00:00 2001 From: sethaguda <138509718+sethaguda@users.noreply.github.com> Date: Fri, 11 Aug 2023 14:18:42 +0100 Subject: [PATCH 01/15] Update code-quality.yml --- .github/workflows/code-quality.yml | 40 ++++++++++++++++-------------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index f71bb82a..e9a7fb91 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -1,9 +1,13 @@ -name: "Check code format and quality" -on: +name: Check code format and quality +'on': push: - branches: [master] + branches: + - master pull_request: - types: [opened, synchronize, reopened] + types: + - opened + - synchronize + - reopened jobs: check-code-quality: runs-on: ubuntu-latest @@ -23,17 +27,17 @@ jobs: - name: Create coverage report run: | make compile coverage-report - # - uses: sonarsource/sonarcloud-github-action@master - # SEE: https://github.com/SonarSource/sonarcloud-github-action - #env: - #GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - #SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - #with: - #projectBaseDir: ./application - #args: > - #-Dsonar.organization=nhsd-exeter - #-Dsonar.projectKey=uec-dos-api-pca - #-Dsonar.java.binaries=target/classes - #-Dsonar.coverage.exclusions=src/main/java/**/config/*.*,src/main/java/**/domain/*.*,src/main/java/**/exception/*.*,src/test/**/*.*,src/main/java/**/filter/*.*,src/main/java/**/PostcodeMappingApplication.* - #-Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco - #-Dsonar.verbose=true + - uses: sonarsource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' + SONAR_TOKEN: '${{ secrets.SONAR_TOKEN }}' + with: + projectBaseDir: ./application + args: > + -Dsonar.organization=nhsd-exeter + -Dsonar.projectKey=uec-dos-api-pca + -Dsonar.java.binaries=target/classes + -Dsonar.coverage.exclusions=src/main/java/**/config/*.*,src/main/java/**/domain/*.*,src/main/java/**/exception/*.*,src/test/**/*.*,src/main/java/**/filter/*.*,src/main/java/**/PostcodeMappingApplication.* + -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco + -Dsonar.verbose=true + From b696cbdbba891e8f440ad788b9c351641c2f1c0f Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Mon, 14 Aug 2023 05:46:40 +0100 Subject: [PATCH 02/15] SFD-5448 Update code-quality.yml configuration --- application/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/application/pom.xml b/application/pom.xml index cc371f9d..5e7f1fd3 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -232,6 +232,14 @@ org.sonarsource.scanner.maven sonar-maven-plugin 3.7.0.1746 + + + verify + + sonar + + + From 2890130095fbe80c7f699338a6bcd82e4a93ff25 Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Mon, 14 Aug 2023 12:43:42 +0100 Subject: [PATCH 03/15] SFD-5448 Refactor branch name in code quality YAML file --- .github/workflows/code-quality.yml | 3 ++- application/pom.xml | 9 +-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index e9a7fb91..b2cd349d 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -2,7 +2,7 @@ name: Check code format and quality 'on': push: branches: - - master + - task/SFD-5448_Contract_tests_in_postcode_API_not_running pull_request: types: - opened @@ -41,3 +41,4 @@ jobs: -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco -Dsonar.verbose=true + diff --git a/application/pom.xml b/application/pom.xml index 5e7f1fd3..21583c2c 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -232,14 +232,6 @@ org.sonarsource.scanner.maven sonar-maven-plugin 3.7.0.1746 - - - verify - - sonar - - - @@ -292,6 +284,7 @@ + PACKAGE From f62d0a6ca393076660a93e63e7a742b6a9a26122 Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Mon, 14 Aug 2023 13:00:32 +0100 Subject: [PATCH 04/15] Refactor code-quality YAML file configuration for SFD-5448 --- .github/workflows/code-quality.yml | 33 ++++++++++++++---------------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index b2cd349d..60f36876 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -2,7 +2,7 @@ name: Check code format and quality 'on': push: branches: - - task/SFD-5448_Contract_tests_in_postcode_API_not_running + - master pull_request: types: - opened @@ -24,21 +24,18 @@ jobs: - name: Check Terraform files format run: | build/automation/etc/githooks/scripts/terraform-format-pre-commit.sh - - name: Create coverage report - run: | - make compile coverage-report - - uses: sonarsource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' - SONAR_TOKEN: '${{ secrets.SONAR_TOKEN }}' + - name: Set up JDK 11 + uses: actions/setup-java@v1 with: - projectBaseDir: ./application - args: > - -Dsonar.organization=nhsd-exeter - -Dsonar.projectKey=uec-dos-api-pca - -Dsonar.java.binaries=target/classes - -Dsonar.coverage.exclusions=src/main/java/**/config/*.*,src/main/java/**/domain/*.*,src/main/java/**/exception/*.*,src/test/**/*.*,src/main/java/**/filter/*.*,src/main/java/**/PostcodeMappingApplication.* - -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco - -Dsonar.verbose=true - - + java-version: 11 + - name: Cache Maven packages + uses: actions/cache@v1 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + - name: Build and analyze with SonarQube + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 6ad1540aae0aa06b18888e295b0d581ffd107564 Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Mon, 14 Aug 2023 13:00:32 +0100 Subject: [PATCH 05/15] Refactor code-quality YAML file configuration for SFD-5448 --- .github/workflows/code-quality.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 60f36876..22171adf 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -2,7 +2,7 @@ name: Check code format and quality 'on': push: branches: - - master + - task/SFD-5448_Contract_tests_in_postcode_API_not_running pull_request: types: - opened @@ -34,8 +34,8 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - - name: Build and analyze with SonarQube - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage + - name: Build and Analyze with SonarQube + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 87216c20e25fc5d4288d89bf0f381e395e8192f1 Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Mon, 14 Aug 2023 13:00:32 +0100 Subject: [PATCH 06/15] Refactor code-quality YAML file configuration for SFD-5448 --- .github/workflows/code-quality.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 22171adf..5b7de92a 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -35,7 +35,10 @@ jobs: key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: Build and Analyze with SonarQube - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + run: | + pwd + cd dos-postcode-api + mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 1242984b7a747749a395c44486afad8fee7d6f9b Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Mon, 14 Aug 2023 13:00:32 +0100 Subject: [PATCH 07/15] Refactor code-quality YAML file configuration for SFD-5448 --- .github/workflows/code-quality.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 5b7de92a..4e1e6dc3 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -2,7 +2,7 @@ name: Check code format and quality 'on': push: branches: - - task/SFD-5448_Contract_tests_in_postcode_API_not_running + - master pull_request: types: - opened @@ -37,7 +37,7 @@ jobs: - name: Build and Analyze with SonarQube run: | pwd - cd dos-postcode-api + cd ${{ github.workspace }}/dos-postcode-api mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From dfd641ceeed7527d342737b7f369856cd90fc56a Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Mon, 14 Aug 2023 14:47:05 +0100 Subject: [PATCH 08/15] SFD-5448 Refactor build_and_analyse_with_sonarqube step --- .github/workflows/code-quality.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 4e1e6dc3..0cd9cc74 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -36,9 +36,11 @@ jobs: restore-keys: ${{ runner.os }}-m2 - name: Build and Analyze with SonarQube run: | - pwd + ls -la ${{ github.workspace }} cd ${{ github.workspace }}/dos-postcode-api + ls -la mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + From ed63d1685c6f2f69861ec9aabe3fe00033840696 Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Mon, 14 Aug 2023 15:11:40 +0100 Subject: [PATCH 09/15] SFD-5448: Refactor 'build_and_analyse_with_sonarqube' Step (2nd Attempt) --- .github/workflows/code-quality.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 0cd9cc74..320106cb 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -37,8 +37,7 @@ jobs: - name: Build and Analyze with SonarQube run: | ls -la ${{ github.workspace }} - cd ${{ github.workspace }}/dos-postcode-api - ls -la + cd ${{ github.workspace }}/application/dos-postcode-api mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 44ed944f1d53257b66e05dbccb1b994df49c9304 Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Tue, 15 Aug 2023 04:50:06 +0100 Subject: [PATCH 10/15] SFD-5488 Update application path setting --- .github/workflows/code-quality.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 320106cb..10ed6c7e 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -37,7 +37,7 @@ jobs: - name: Build and Analyze with SonarQube run: | ls -la ${{ github.workspace }} - cd ${{ github.workspace }}/application/dos-postcode-api + cd application mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 038daf4a166666a5ec0eaebe9a2df97f49549f14 Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Tue, 15 Aug 2023 05:31:15 +0100 Subject: [PATCH 11/15] SFD-5488 Commented sonarqube script --- .github/workflows/code-quality.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 10ed6c7e..157b5636 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -1,5 +1,5 @@ name: Check code format and quality -'on': +on: push: branches: - master @@ -34,12 +34,11 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - - name: Build and Analyze with SonarQube - run: | - ls -la ${{ github.workspace }} - cd application - mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - + # - name: Build and Analyze with SonarQube + # run: | + # ls -la ${{ github.workspace }} + # cd application + # mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 545238153b5120bb9b01e1567352612f426c62bd Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Tue, 15 Aug 2023 05:42:21 +0100 Subject: [PATCH 12/15] SFD-5488 Commented sonarqube scan setup --- .github/workflows/code-quality.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 157b5636..75ec153f 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -1,5 +1,5 @@ name: Check code format and quality -on: +'on': push: branches: - master @@ -24,21 +24,21 @@ jobs: - name: Check Terraform files format run: | build/automation/etc/githooks/scripts/terraform-format-pre-commit.sh - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - name: Cache Maven packages - uses: actions/cache@v1 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 + # - name: Set up JDK 11 + # uses: actions/setup-java@v1 + # with: + # java-version: 11 + # - name: Cache Maven packages + # uses: actions/cache@v1 + # with: + # path: ~/.m2 + # key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + # restore-keys: ${{ runner.os }}-m2 # - name: Build and Analyze with SonarQube # run: | # ls -la ${{ github.workspace }} # cd application # mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 532d0449884e612b5a50e42746458a6ad5b8ba7c Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Tue, 15 Aug 2023 12:00:17 +0100 Subject: [PATCH 13/15] SFD-5448 Updated Sonarqube scan script --- .github/workflows/code-quality.yml | 36 +++++++++++++++--------------- application/pom.xml | 9 +++++++- 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 75ec153f..c6da5cad 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -24,21 +24,21 @@ jobs: - name: Check Terraform files format run: | build/automation/etc/githooks/scripts/terraform-format-pre-commit.sh - # - name: Set up JDK 11 - # uses: actions/setup-java@v1 - # with: - # java-version: 11 - # - name: Cache Maven packages - # uses: actions/cache@v1 - # with: - # path: ~/.m2 - # key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - # restore-keys: ${{ runner.os }}-m2 - # - name: Build and Analyze with SonarQube - # run: | - # ls -la ${{ github.workspace }} - # cd application - # mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: Create coverage report + run: | + make compile coverage-report + - uses: sonarsource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' + SONAR_TOKEN: '${{ secrets.SONAR_TOKEN }}' + with: + projectBaseDir: ./application + args: > + -Dsonar.host.url=https://sonarcloud.io \ + -Dsonar.organization=nhsd-exeter + -Dsonar.projectKey=uec-dos-api-pca + -Dsonar.java.binaries=target/classes + -Dsonar.coverage.exclusions=src/main/java/**/config/*.*,src/main/java/**/domain/*.*,src/main/java/**/exception/*.*,src/test/**/*.*,src/main/java/**/filter/*.*,src/main/java/**/PostcodeMappingApplication.* + -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco + -Dsonar.verbose=true + diff --git a/application/pom.xml b/application/pom.xml index 21583c2c..783d932b 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -232,8 +232,15 @@ org.sonarsource.scanner.maven sonar-maven-plugin 3.7.0.1746 + + + verify + + sonar + + + - org.springframework.boot spring-boot-maven-plugin From f0ec865c4a83a0eae63a11bbcc5191acc004fc6d Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Tue, 15 Aug 2023 12:10:03 +0100 Subject: [PATCH 14/15] SFD-5488 Update sonarqube scan script^2 --- .github/workflows/code-quality.yml | 33 +++++++++++++++--------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index c6da5cad..dc63e071 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -24,21 +24,22 @@ jobs: - name: Check Terraform files format run: | build/automation/etc/githooks/scripts/terraform-format-pre-commit.sh - - name: Create coverage report + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Cache Maven packages + uses: actions/cache@v1 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + - name: Build and Analyze with SonarQube run: | - make compile coverage-report - - uses: sonarsource/sonarcloud-github-action@master + ls -la ${{ github.workspace }} + cd application + mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \ + -Dsonar.host.url=https://sonarcloud.io env: - GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' - SONAR_TOKEN: '${{ secrets.SONAR_TOKEN }}' - with: - projectBaseDir: ./application - args: > - -Dsonar.host.url=https://sonarcloud.io \ - -Dsonar.organization=nhsd-exeter - -Dsonar.projectKey=uec-dos-api-pca - -Dsonar.java.binaries=target/classes - -Dsonar.coverage.exclusions=src/main/java/**/config/*.*,src/main/java/**/domain/*.*,src/main/java/**/exception/*.*,src/test/**/*.*,src/main/java/**/filter/*.*,src/main/java/**/PostcodeMappingApplication.* - -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco - -Dsonar.verbose=true - + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 561e2b2b99c9c05dfabbd695a82aa6bdf9b92849 Mon Sep 17 00:00:00 2001 From: Seth Aguda Date: Tue, 15 Aug 2023 12:18:41 +0100 Subject: [PATCH 15/15] SFD-5488 Update sonarqube scan script^3 --- .github/workflows/code-quality.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index dc63e071..bc46b406 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -39,7 +39,13 @@ jobs: ls -la ${{ github.workspace }} cd application mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \ - -Dsonar.host.url=https://sonarcloud.io + -Dsonar.host.url=https://sonarcloud.io \ + -Dsonar.organization=nhsd-exeter \ + -Dsonar.projectKey=uec-dos-api-pca \ + -Dsonar.java.binaries=target/classes \ + -Dsonar.coverage.exclusions=src/main/java/**/config/*.*,src/main/java/**/domain/*.*,src/main/java/**/exception/*.*,src/test/**/*.*,src/main/java/**/filter/*.*,src/main/java/**/PostcodeMappingApplication.* \ + -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco \ + -Dsonar.verbose=true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}