diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 000000000..ffa776c01 --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,15 @@ +name: Automatic Code Reviews + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: ZedThree/clang-tidy-review@v0.7.0 + id: review + - if: steps.review.outputs.total_comments > 0 + run: exit 1 +