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

haonan pushed a commit to branch fix_codeql_cpp
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 0b57234a11fe247bfacf40717127b393530915ae
Author: HTHou <[email protected]>
AuthorDate: Fri Sep 20 23:54:45 2024 +0800

    fix codeql cpp
---
 .github/workflows/codeql.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 6f493e5c..6325d480 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -16,6 +16,7 @@ on:
     branches:
       - develop
       - rc/*
+      - fix_codeql_cpp
     paths-ignore:
       - 'docs/**'
 
@@ -27,7 +28,7 @@ jobs:
     #   - https://gh.io/supported-runners-and-hardware-resources
     #   - https://gh.io/using-larger-runners (GitHub.com only)
     # Consider using larger runners or machines with greater resources for 
possible analysis time improvements.
-    runs-on: ${{ (matrix.language == 'c-cpp' && 'windows-latest') || 
'ubuntu-latest' }}
+    runs-on: ${{ (matrix.language == 'c-cpp' && 'macos-latest') || 
'ubuntu-latest' }}
     timeout-minutes: ${{ 360 }}
     permissions:
       # required for all workflows
@@ -45,7 +46,7 @@ jobs:
       matrix:
         include:
         - language: c-cpp
-          build-mode: manual
+          build-mode: autobuild
         - language: java-kotlin
           build-mode: none # This mode only analyzes Java. Set this to 
'autobuild' or 'manual' to analyze Kotlin too.
         - language: python

Reply via email to