From 472ce52cfaae24af7b404c37bc311374725a046c Mon Sep 17 00:00:00 2001 From: Guilherme Branco Stracini Date: Sat, 12 Oct 2024 00:55:14 +0100 Subject: [PATCH] Create sonarcloud-pixeebot.yml (#314) --- .github/workflows/sonarcloud-pixeebot.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/sonarcloud-pixeebot.yml diff --git a/.github/workflows/sonarcloud-pixeebot.yml b/.github/workflows/sonarcloud-pixeebot.yml new file mode 100644 index 000000000..5651543b3 --- /dev/null +++ b/.github/workflows/sonarcloud-pixeebot.yml @@ -0,0 +1,18 @@ +name: Fix SonarCloud Issues with Pixeebot +on: + check_run: + types: [completed] + +permissions: + id-token: write + +jobs: + share: + name: Upload Sonar Results to Pixeebot + runs-on: ubuntu-latest + if: ${{ github.event.check_run.name == 'SonarCloud Code Analysis' }} + steps: + - uses: pixee/upload-tool-results-action@v2 + with: + tool: sonar + sonar-token: ${{ secrets.SONAR_TOKEN }}