Update .github/workflows/codeql.yml

Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
Tobias Kaminsky 2022-06-09 12:43:47 +02:00 committed by tobiasKaminsky
parent b7a464713f
commit 3c402cd381
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -13,7 +13,7 @@ name: "CodeQL"
on:
push:
branches: [ "master", stable-[0-9][0-9]* ]
branches: [ "master", "stable-[0-9][0-9]*" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'java', 'python', 'ruby' ]
language: [ 'java' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# 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.
# 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.
# 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
# Build
# Build
- name: Set up JDK 11
uses: actions/setup-java@v2
with: