浏览代码

:bug: fix CodeQL is triggered multiple times

(cherry picked from commit 36d320a4a95266c69c5101a0cb423d11a1bcb1fc)
kslr 4 年之前
父节点
当前提交
b1311cf807
共有 1 个文件被更改,包括 5 次插入0 次删除
  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: