diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 02dd03eb..236a45d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,16 +1,13 @@ name: Sonar Build on: - workflow_run: - workflows: [Git Police] - types: - - completed + pull_request: + types: [opened, synchronize, reopened] push: branches: - main - develop jobs: build: - if: github.event.workflow_run.conclusion == 'success' name: Sonar Build runs-on: ubuntu-latest steps: @@ -35,4 +32,4 @@ jobs: # - uses: sonarsource/sonarqube-quality-gate-action@master # timeout-minutes: 5 # env: - # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}