From 36d320a4a95266c69c5101a0cb423d11a1bcb1fc Mon Sep 17 00:00:00 2001 From: kslr Date: Thu, 9 Sep 2021 11:50:35 +0800 Subject: [PATCH] :bug: fix CodeQL is triggered multiple times --- .github/workflows/codeql-analysis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bf7618e5fe7..482e1610636 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,8 +2,13 @@ name: CodeQL on: push: + branches: [master] pull_request: + branches: [master] types: [opened, synchronize, reopened] + paths-ignore: + - '**/*.md' + - '**/*.txt' jobs: analyze: