Browse Source

CodeQL: do NOT run on ready for review status (#209)

Loyalsoldier 5 years ago
parent
commit
5f620256b2
1 changed files with 2 additions and 4 deletions
  1. 2 4
      .github/workflows/codeql-analysis.yml

+ 2 - 4
.github/workflows/codeql-analysis.yml

@@ -1,4 +1,4 @@
-name: "CodeQL"
+name: CodeQL
 
 
 on:
 on:
   push:
   push:
@@ -6,8 +6,8 @@ on:
     paths:
     paths:
       - "**/*.go"
       - "**/*.go"
   pull_request:
   pull_request:
-    # The branches below must be a subset of the branches above
     branches: [master]
     branches: [master]
+    types: [opened, synchronize, reopened]
     paths:
     paths:
       - "**/*.go"
       - "**/*.go"
   schedule:
   schedule:
@@ -15,9 +15,7 @@ on:
 
 
 jobs:
 jobs:
   analyze:
   analyze:
-    name: Analyze
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
-
     strategy:
     strategy:
       fail-fast: false
       fail-fast: false
       matrix:
       matrix: