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

hellostephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e0af3f855e [ci](fix) license check (#62534)
1e0af3f855e is described below

commit 1e0af3f855e41536f38a43eac835daf5049de441
Author: Dongyang Li <[email protected]>
AuthorDate: Thu Apr 16 14:44:01 2026 +0800

    [ci](fix) license check (#62534)
---
 .github/workflows/license-eyes.yml        | 20 +++++++++++++-------
 .licenserc.yaml                           |  7 +++++++
 cloud/src/common/CMakeLists.txt           | 17 +++++++++++++++++
 cloud/src/gen-cpp/CMakeLists.txt          | 17 +++++++++++++++++
 cloud/src/meta-service/CMakeLists.txt     | 17 ++++++++++++++++-
 cloud/src/meta-store/CMakeLists.txt       | 17 +++++++++++++++++
 cloud/src/rate-limiter/CMakeLists.txt     | 16 ++++++++++++++++
 cloud/src/recycler/CMakeLists.txt         | 16 ++++++++++++++++
 cloud/src/resource-manager/CMakeLists.txt | 16 ++++++++++++++++
 cloud/src/snapshot/CMakeLists.txt         | 17 +++++++++++++++++
 cloud/test/CMakeLists.txt                 | 17 +++++++++++++++++
 conf/ubsan_ignorelist.txt                 | 17 +++++++++++++++++
 extension/dbt-doris/dev-requirements.txt  | 17 +++++++++++++++++
 13 files changed, 203 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/license-eyes.yml 
b/.github/workflows/license-eyes.yml
index ca77bda309c..2fbccb9c0d3 100644
--- a/.github/workflows/license-eyes.yml
+++ b/.github/workflows/license-eyes.yml
@@ -48,16 +48,18 @@ jobs:
         with:
           ref: ${{ github.event.pull_request.head.sha }}
 
-      - name: Fetch base branch for diff
-        if: github.event_name == 'pull_request_target'
-        run: git fetch --no-tags --depth=1 origin ${{ github.base_ref }}
-
       - name: Get changed files
         if: github.event_name == 'pull_request_target'
         id: changed-files
+        env:
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: |
-          base_sha=$(git rev-parse FETCH_HEAD)
-          if ! all=$(git diff --name-only "${base_sha}...HEAD" 2>/dev/null); 
then
+          if ! all=$(gh api repos/${{ github.repository }}/pulls/${{ 
github.event.pull_request.number }}/files \
+            --paginate --jq '.[].filename' 2>/dev/null); then
+            echo "config_file=.licenserc.yaml" >> "$GITHUB_OUTPUT"
+            exit 0
+          fi
+          if [ "$(echo "$all" | wc -l)" -ge 3000 ]; then
             echo "config_file=.licenserc.yaml" >> "$GITHUB_OUTPUT"
             exit 0
           fi
@@ -65,7 +67,11 @@ jobs:
             echo "config_file=.licenserc.yaml" >> "$GITHUB_OUTPUT"
             exit 0
           fi
-          acmr=$(git diff --name-only --diff-filter=ACMR "${base_sha}...HEAD")
+          if ! acmr=$(gh api repos/${{ github.repository }}/pulls/${{ 
github.event.pull_request.number }}/files \
+            --paginate --jq '.[] | select(.status != "removed") | .filename' 
2>/dev/null); then
+            echo "config_file=.licenserc.yaml" >> "$GITHUB_OUTPUT"
+            exit 0
+          fi
           if [ -z "$acmr" ]; then
             exit 0
           fi
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 1737f1d0878..99e76f28a86 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -8,7 +8,9 @@ header:
     - "licenses"
     - "**/*.md"
     - "LICENSE"
+    - "LICENSE.txt"
     - "NOTICE"
+    - "NOTICE.txt"
     - "doap_Doris.rdf"
     - ".clang-format"
     - ".clang-format-ignore"
@@ -46,12 +48,14 @@ header:
     - "**/*.parquet"
     - "docs/.markdownlintignore"
     - "fe/fe-core/src/test/resources/data/net_snmp_normal"
+    - "fe/fe-core/src/test/resources/stageUtilTest.txt"
     - 
"fe/fe-core/src/main/java/software/amazon/awssdk/core/client/builder/SdkDefaultClientBuilder.java"
     - "fe/fe-core/src/main/antlr4/org/apache/doris/nereids/JavaLexer.g4"
     - "fe/fe-core/src/main/antlr4/org/apache/doris/nereids/JavaParser.g4"
     - "fe/.idea/vcs.xml"
     - "be/dict/ik/*"
     - "be/dict/pinyin/*"
+    - "be/dict/icu/**"
     - "be/src/common/signal_handler.h"
     - "be/src/olap/lru_cache.cpp"
     - "be/src/olap/lru_cache.h"
@@ -81,6 +85,7 @@ header:
     - "be/test/expected_result"
     - "build-support/run_clang_format.py"
     - "regression-test/data"
+    - 
"regression-test/suites/query_p0/sql_functions/conditional_functions/data.txt"
     - "docs/.vuepress/public/css/animate.min.css"
     - "docs/.vuepress/public/js/jquery.min.js"
     - "docs/.vuepress/public/js/wow.min.js"
@@ -100,11 +105,13 @@ header:
     - "regression-test/pipeline/**"
     - "extension/beats/go.mod"
     - "extension/beats/go.sum"
+    - "extension/dbt-doris/dev-requirements.txt"
     - "pytest/hdfs"
     - "pytest/qe"
     - "pytest/sys/data"
     - "pytest/deploy/*.conf"
     - "tools/jeprof"
     - "tools/FlameGraph/*"
+    - "thirdparty/LICENSE.txt"
     - "fs_brokers/cdc_client/src/main/java/io/debezium/**"
   comment: on-failure
diff --git a/cloud/src/common/CMakeLists.txt b/cloud/src/common/CMakeLists.txt
index d3ba8914f9f..ac49267c8aa 100644
--- a/cloud/src/common/CMakeLists.txt
+++ b/cloud/src/common/CMakeLists.txt
@@ -1,3 +1,20 @@
+# 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
+#
+#   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.
+
 # where to put generated libraries
 set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/common")
 
diff --git a/cloud/src/gen-cpp/CMakeLists.txt b/cloud/src/gen-cpp/CMakeLists.txt
index 596598e1361..ddd23d2a4b7 100644
--- a/cloud/src/gen-cpp/CMakeLists.txt
+++ b/cloud/src/gen-cpp/CMakeLists.txt
@@ -1,3 +1,20 @@
+# 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
+#
+#   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.
+
 set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/gen_cpp")
 
 set (GEN_CPP_DIR ${GENSRC_DIR}/gen_cpp)
diff --git a/cloud/src/meta-service/CMakeLists.txt 
b/cloud/src/meta-service/CMakeLists.txt
index 83487dae788..3623d99713e 100644
--- a/cloud/src/meta-service/CMakeLists.txt
+++ b/cloud/src/meta-service/CMakeLists.txt
@@ -1,4 +1,19 @@
-
+# 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
+#
+#   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.
 
 # where to put generated libraries
 set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/meta-service")
diff --git a/cloud/src/meta-store/CMakeLists.txt 
b/cloud/src/meta-store/CMakeLists.txt
index fba732c1110..8bef12c1965 100644
--- a/cloud/src/meta-store/CMakeLists.txt
+++ b/cloud/src/meta-store/CMakeLists.txt
@@ -1,3 +1,20 @@
+# 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
+#
+#   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.
+
 # where to put generated libraries
 set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/meta-store")
 
diff --git a/cloud/src/rate-limiter/CMakeLists.txt 
b/cloud/src/rate-limiter/CMakeLists.txt
index 631c90d656a..023652fe3ca 100644
--- a/cloud/src/rate-limiter/CMakeLists.txt
+++ b/cloud/src/rate-limiter/CMakeLists.txt
@@ -1,3 +1,19 @@
+# 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
+#
+#   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.
 
 # where to put generated libraries
 set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/rate-limiter")
diff --git a/cloud/src/recycler/CMakeLists.txt 
b/cloud/src/recycler/CMakeLists.txt
index 12dc7351853..3721e23faab 100644
--- a/cloud/src/recycler/CMakeLists.txt
+++ b/cloud/src/recycler/CMakeLists.txt
@@ -1,3 +1,19 @@
+# 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
+#
+#   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.
 
 # where to put generated libraries
 set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/recycler")
diff --git a/cloud/src/resource-manager/CMakeLists.txt 
b/cloud/src/resource-manager/CMakeLists.txt
index dbd6d353975..f3fed07a0bc 100644
--- a/cloud/src/resource-manager/CMakeLists.txt
+++ b/cloud/src/resource-manager/CMakeLists.txt
@@ -1,3 +1,19 @@
+# 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
+#
+#   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.
 
 # where to put generated libraries
 set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/resource-manager")
diff --git a/cloud/src/snapshot/CMakeLists.txt 
b/cloud/src/snapshot/CMakeLists.txt
index 2c308450d89..160adb377c5 100644
--- a/cloud/src/snapshot/CMakeLists.txt
+++ b/cloud/src/snapshot/CMakeLists.txt
@@ -1,3 +1,20 @@
+# 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
+#
+#   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.
+
 set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/snapshot")
 set(EXECUTABLE_OUTPUT_PATH "${BUILD_DIR}/src/snapshot")
 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lfdb_c 
-L${THIRDPARTY_DIR}/lib")
diff --git a/cloud/test/CMakeLists.txt b/cloud/test/CMakeLists.txt
index f57c9d46282..0d40bd5c2d6 100644
--- a/cloud/test/CMakeLists.txt
+++ b/cloud/test/CMakeLists.txt
@@ -1,3 +1,20 @@
+# 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
+#
+#   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.
+
 if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/enterprise/CMakeLists.txt)
     add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/enterprise)
 endif()
diff --git a/conf/ubsan_ignorelist.txt b/conf/ubsan_ignorelist.txt
index 9fca0e59cdd..ea83005c1e6 100644
--- a/conf/ubsan_ignorelist.txt
+++ b/conf/ubsan_ignorelist.txt
@@ -1,3 +1,20 @@
+# 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
+#
+#   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.
+
 src:*/rapidjson/*
 # OpenBLAS blas_server_omp.c:exec_threads calls inner_thread through a
 # function pointer whose signature doesn't match the actual definition
diff --git a/extension/dbt-doris/dev-requirements.txt 
b/extension/dbt-doris/dev-requirements.txt
index 5711dcf4952..64aa3cb9684 100644
--- a/extension/dbt-doris/dev-requirements.txt
+++ b/extension/dbt-doris/dev-requirements.txt
@@ -1,3 +1,20 @@
+# 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
+#
+#   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.
+
 # install latest changes in dbt-core
 git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core
 
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-tests-adapter&subdirectory=tests/adapter


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to