From 1ee6396a870a04b592fe46bcbf999b7b32694a05 Mon Sep 17 00:00:00 2001 From: sethkfman Date: Mon, 13 Mar 2023 14:47:58 -0600 Subject: [PATCH 1/3] pin the sonar action to a specific commit --- .github/workflows/sonar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 60207041931..db594cc9c64 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: sonarsource/sonarqube-scan-action@master + - uses: sonarsource/sonarqube-scan-action@427bad70165a74f9d7133d48ea31b482a53ee9fa env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} From 0e53846e9bdf5631a833699524deddb4a080328d Mon Sep 17 00:00:00 2001 From: sethkfman Date: Wed, 15 Mar 2023 12:56:55 -0600 Subject: [PATCH 2/3] format sonar file --- .github/workflows/sonar.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index db594cc9c64..39d9e36e77c 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -15,3 +15,4 @@ jobs: env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + \ No newline at end of file From 35cbb3f7404d109f8c9d82af435fc66620d52fae Mon Sep 17 00:00:00 2001 From: sethkfman Date: Wed, 15 Mar 2023 13:10:56 -0600 Subject: [PATCH 3/3] remove extra line from file --- .github/workflows/sonar.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 39d9e36e77c..8f1f62b7e39 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -14,5 +14,4 @@ jobs: - uses: sonarsource/sonarqube-scan-action@427bad70165a74f9d7133d48ea31b482a53ee9fa env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - \ No newline at end of file + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} \ No newline at end of file