Only run clang-tidy CI Action on PRs (#3892)

This commit is contained in:
pajlada 2022-07-31 17:32:43 +02:00 committed by GitHub
parent 81773c7d30
commit 109fb5c016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ jobs:
shell: bash
- name: clang-tidy review
if: (startsWith(matrix.os, 'ubuntu') && matrix.pch == false && matrix.qt-version == '5.15.2')
if: (startsWith(matrix.os, 'ubuntu') && matrix.pch == false && matrix.qt-version == '5.15.2' && github.event_name == 'pull_request')
uses: ZedThree/clang-tidy-review@v0.8.4
id: review
with: