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

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


The following commit(s) were added to refs/heads/main by this push:
     new e94ea49b2a Updating codeql
e94ea49b2a is described below

commit e94ea49b2a328e641673a0940dcab8cb0d37c5a3
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Thu Jun 8 09:14:34 2023 +0100

    Updating codeql
---
 .github/workflows/codeql-analysis.yml | 21 ++-------------------
 1 file changed, 2 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index 28a57c8978..5fb13b6dab 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -26,22 +26,10 @@ jobs:
     name: Analyze
     runs-on: ubuntu-latest
 
-    strategy:
-      fail-fast: false
-      matrix:
-        # Override automatic language detection by changing the below list
-        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 
'python']
-        language: ['java']
-        # Learn more...
-        # 
https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
-
     steps:
     - name: Checkout repository
       uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
-      with:
-        # We must fetch at least the immediate parents so that if this is
-        # a pull request then we can checkout the head.
-        fetch-depth: 2
+
     - name: Setup JDK 17
       uses: actions/setup-java@3f07048e3d294f56e9b90ac5ea2c6f74e9ad0f98 # 
v3.10.0
       with:
@@ -54,16 +42,11 @@ jobs:
         key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
         restore-keys: ${{ runner.os }}-maven-
 
-    # If this run was triggered by a pull request event, then checkout
-    # the head of the pull request instead of the merge commit.
-    - run: git checkout HEAD^2
-      if: ${{ github.event_name == 'pull_request' }}
-
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
       uses: github/codeql-action/init@83f0fe6c4988d98a455712a27f0255212bba9bd4 
# v2.3.6
       with:
-        languages: ${{ matrix.language }}
+        languages: java
         #config-file: ./.github/codeql/codeql-cxf-config.yml
         # 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. 

Reply via email to