From 152813f472ad99626b41fbbda744e16dd26ded9b Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 10 Nov 2023 13:17:48 -0800 Subject: [PATCH] only post comments from linux runner --- .github/workflows/cpp-lint-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cpp-lint-action.yml b/.github/workflows/cpp-lint-action.yml index d1d1876..a0341d2 100644 --- a/.github/workflows/cpp-lint-action.yml +++ b/.github/workflows/cpp-lint-action.yml @@ -44,7 +44,7 @@ jobs: database: build verbosity: 9 version: ${{ matrix.clang-version }} - thread-comments: ${{ matrix.clang-version == '12' && 'true' || 'false' }} + thread-comments: ${{ matrix.os == 'ubuntu-latest' && matrix.clang-version == '12' && 'true' || 'false' }} file-annotations: ${{ matrix.clang-version == '12' }} extra-args: -std=c++14 -Wall