From 762193c3d9148708f89ea8a6ed3503d6cdde7935 Mon Sep 17 00:00:00 2001 From: shobikaramasubbarayalu Date: Tue, 22 Feb 2022 10:57:15 -0500 Subject: [PATCH 1/3] New change --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dacde6c..491cab6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Build on: push: branches: - - master + - master - test pull_request: types: [opened, synchronize, reopened] @@ -18,4 +18,5 @@ jobs: uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + From 887283b8af346569e5decef4e554fbd884e1fe5f Mon Sep 17 00:00:00 2001 From: shobikaramasubbarayalu Date: Tue, 22 Feb 2022 11:07:20 -0500 Subject: [PATCH 2/3] New change --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 491cab6..17e8096 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,4 +19,19 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: SonarCloud Quality Gate + uses: SonarSource/sonarqube-quality-gate-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@test + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: SonarCloud Quality Gate + uses: SonarSource/sonarqube-quality-gate-action@test + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From a1c25786670f107725427fce5f1b9efbcd9eb69b Mon Sep 17 00:00:00 2001 From: shobikaramasubbarayalu Date: Tue, 22 Feb 2022 11:09:53 -0500 Subject: [PATCH 3/3] New change --- .github/workflows/build.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17e8096..06730e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,14 +24,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@test - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - - name: SonarCloud Quality Gate - uses: SonarSource/sonarqube-quality-gate-action@test - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} +