You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2020/10/06 05:42:42 UTC

[cxf] 01/01: Exclude test paths from codeql

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch codeql
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 1e53452d920733178a80d0877c7a87cb0698d462
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Tue Oct 6 06:42:12 2020 +0100

    Exclude test paths from codeql
---
 .github/workflows/codeql-analysis.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index a486ead..3797ac0 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -50,6 +50,9 @@ jobs:
         # 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.
         # queries: ./path/to/local/query, your-org/your-repo/queries@main
+      paths:
+        # Exclude test paths from the analysis
+        - src/main
 
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
     # If this step fails, then you should remove it and run the build manually (see below)