diff --git a/.github/workflows/sonarcloud-pixeebot.yml b/.github/workflows/sonarcloud-pixeebot.yml new file mode 100644 index 0000000..5651543 --- /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 }}