Skip to content

Commit

Permalink
Only run clang-tidy CI Action on PRs (#3892)
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Jul 31, 2022
1 parent 81773c7 commit 109fb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 109fb5c

Please sign in to comment.