Browse Source

:bug: fix CodeQL is triggered multiple times

(cherry picked from commit 36d320a4a95266c69c5101a0cb423d11a1bcb1fc)
kslr 4 years ago
parent
commit
b1311cf807
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .github/workflows/codeql-analysis.yml

+ 5 - 0
.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: