From 31852a76ca638da134c36df9c487db90974cb1c0 Mon Sep 17 00:00:00 2001 From: Lokesh B Date: Wed, 29 May 2024 15:36:06 +0530 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..68ddb7b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,16 @@ +name: Sonarqube WF + +jobs: + sonar: + - name: SonarScanner for .NET 5 with pull request decoration support + uses: highbyte/sonarscan-dotnet@2.0 + with: + # The key of the SonarQube project + sonarProjectKey: text-summarizer + # The name of the SonarQube project + sonarProjectName: text-summarizer + # The SonarQube server URL. For SonarCloud, skip this setting. + sonarHostname: http://20.106.208.220:9000 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}