GuilhermeStracini/POC-dotnet-CQRS

View on GitHub
.github/workflows/sonarcloud-pixeebot.yml

Summary

Maintainability
Test Coverage
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 }}