From cc48bfca942380e11517ca156b37c8d686fce869 Mon Sep 17 00:00:00 2001 From: szymmirr Date: Tue, 10 Oct 2023 00:16:37 +0200 Subject: [PATCH] Update ms-code-analysis.yml --- .github/workflows/ms-code-analysis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ms-code-analysis.yml b/.github/workflows/ms-code-analysis.yml index c717753..309bc13 100644 --- a/.github/workflows/ms-code-analysis.yml +++ b/.github/workflows/ms-code-analysis.yml @@ -1,8 +1,13 @@ name: Microsoft C++ Code Analysis -on: [pull_request] + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] env: - # Path to the CMake build directory. + # Path to the CMake build directory build: '${{ github.workspace }}/build' config: 'Debug'