This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 849159d Improved: Try to reduce the SARIF file used by CodeQL for Java classes (OFBIZ-12361) 849159d is described below commit 849159dd7a31e518f0e2a9677af894fab46218fd Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Wed Nov 3 11:12:51 2021 +0100 Improved: Try to reduce the SARIF file used by CodeQL for Java classes (OFBIZ-12361) Run only when a Java or Javascript file has been modified. Java will still fails OFBiz is too big and there are no ways to restrict the files to check. --- .github/workflows/codeql-analysis.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a589cd4..eaf5f06 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -26,9 +26,18 @@ name: "CodeQL" on: push: branches: [ trunk, release* ] + paths: + - '**.java' + - '**.js' + #paths-ignore: + # - src/node_modules + # - '**/*.test.js' pull_request: # The branches below must be a subset of the branches above branches: [ trunk ] + paths: + - '**.java' + - '**.js' schedule: - cron: '27 15 * * 1' @@ -82,8 +91,3 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 -paths: - - '**/*.java' -#paths-ignore: -# - src/node_modules -# - '**/*.test.js' \ No newline at end of file