diff --git a/.github/workflows/cpp-lint-package.yml b/.github/workflows/cpp-lint-package.yml index 99d1c81..33867a2 100644 --- a/.github/workflows/cpp-lint-package.yml +++ b/.github/workflows/cpp-lint-package.yml @@ -7,6 +7,7 @@ on: description: 'which branch to test' default: 'main' required: true + pull_request: jobs: cpp-linter: @@ -16,7 +17,7 @@ jobs: matrix: clang-version: ['7', '8', '9','10', '11', '12', '13', '14', '15', '16', '17'] repo: ['cpp-linter/cpp-linter'] - branch: ['${{ inputs.branch }}'] + branch: ['passive-reviews'] # ['${{ inputs.branch }}'] fail-fast: false steps: @@ -66,6 +67,8 @@ jobs: --extra-arg="-std=c++14 -Wall" --thread-comments=${{ matrix.clang-version == '12' }} -a=${{ matrix.clang-version == '12' }} + --passive-reviews=true + --format-review=true - name: Fail fast?! if: steps.linter.outputs.checks-failed > 0