You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by fa...@apache.org on 2026/04/15 04:04:01 UTC
(hadoop) 02/02: ci: modify generated codeql.yml, only scan actions for now
This is an automated email from the ASF dual-hosted git repository.
fabbri pushed a commit to branch af/codeql-ci
in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit c03003c5edcd698966540f52259f27576790ea57
Author: Aaron Fabbri <fa...@apache.org>
AuthorDate: Tue Apr 14 16:32:02 2026 -0700
ci: modify generated codeql.yml, only scan actions for now
---
.github/workflows/codeql.yml | 44 +++++++++++++++++++++++++-------------------
1 file changed, 25 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 03fd54e6293..891ab5518a0 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -1,14 +1,22 @@
-# For most projects, this workflow file will not need changing; you simply need
-# to commit it to your repository.
+# Copyright 2026 The Apache Software Foundation
#
-# You may wish to alter this file to override the set of languages analyzed,
-# or to provide custom queries or build logic.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
#
-# ******** NOTE ********
-# We have attempted to detect the languages in your repository. Please check
-# the `language` matrix defined below to confirm you have the correct set of
-# supported CodeQL languages.
+# http://www.apache.org/licenses/LICENSE-2.0
#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
name: "CodeQL Advanced"
on:
@@ -24,9 +32,6 @@ jobs:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
- # - 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 == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
@@ -43,16 +48,17 @@ jobs:
fail-fast: false
matrix:
include:
+ # Initially only enabling scans for github actions
- language: actions
build-mode: none
- - language: c-cpp
- 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: javascript-typescript
- build-mode: none
- - language: python
- build-mode: none
+ #- language: c-cpp
+ # 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: javascript-typescript
+ # build-mode: none
+ #- language: python
+ # build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org