Browse Source

Update .github/workflows/codeql.yml

Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Tobias Kaminsky 2 years ago
parent
commit
3c402cd381
1 changed files with 6 additions and 6 deletions
  1. 6 6
      .github/workflows/codeql.yml

+ 6 - 6
.github/workflows/codeql.yml

@@ -13,7 +13,7 @@ name: "CodeQL"
 
 
 on:
 on:
   push:
   push:
-    branches: [ "master", stable-[0-9][0-9]* ]
+    branches: [ "master", "stable-[0-9][0-9]*" ]
   pull_request:
   pull_request:
     # The branches below must be a subset of the branches above
     # The branches below must be a subset of the branches above
     branches: [ "master" ]
     branches: [ "master" ]
@@ -32,7 +32,7 @@ jobs:
     strategy:
     strategy:
       fail-fast: false
       fail-fast: false
       matrix:
       matrix:
-        language: [ 'java', 'python', 'ruby' ]
+          language: [ 'java' ]
         # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
         # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
         # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
         # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
 
 
@@ -48,12 +48,12 @@ jobs:
         # If you wish to specify custom queries, you can do so here or in a config file.
         # If you wish to specify custom queries, you can do so here or in a config file.
         # By default, queries listed here will override any specified in a config file.
         # By default, queries listed here will override any specified in a config file.
         # Prefix the list here with "+" to use these queries and those in the config file.
         # Prefix the list here with "+" to use these queries and those in the config file.
-        
-        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
+
+          # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
         # queries: security-extended,security-and-quality
         # queries: security-extended,security-and-quality
 
 
-        
-     # Build
+
+        # Build
     - name: Set up JDK 11
     - name: Set up JDK 11
       uses: actions/setup-java@v2
       uses: actions/setup-java@v2
       with:
       with: