diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index b0920521..a7ea049c 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -1,7 +1,12 @@ name: clang-tidy-review -# You can be more specific, but it currently only works on pull requests -on: [pull_request] +on: + push: + branches: + - main + - 'maint/maint*' + pull_request: + branches: '**' jobs: build: @@ -33,4 +38,4 @@ jobs: # If there are any comments, fail the check - if: steps.review.outputs.total_comments > 0 - run: exit 1 \ No newline at end of file + run: exit 1