From 2e17556c73528c0822eebe3a5d6ab3c99dee4c28 Mon Sep 17 00:00:00 2001 From: Artem Smotrakov Date: Wed, 26 May 2021 10:05:08 +0200 Subject: [PATCH] Better config for CodeQL analysis Signed-off-by: Artem Smotrakov --- .github/workflows/codeql-analysis.yml | 4 ++-- .lgtm.yml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3116233da5f..fd52fd13f4b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -7,10 +7,10 @@ name: "CodeQL" on: push: - branches: [master] + branches: * pull_request: # The branches below must be a subset of the branches above - branches: [master] + branches: * schedule: - cron: '0 22 * * 1' diff --git a/.lgtm.yml b/.lgtm.yml index 13888d1019d..2eee7a71669 100644 --- a/.lgtm.yml +++ b/.lgtm.yml @@ -17,5 +17,8 @@ path_classifiers: extraction: java: index: - build_command: "mvn -DskipTests clean package" + java_version: 11 + maven: + version: 3.6.3 + build_command: "mvn -DskipTests -Denforcer.skip clean package"