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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0298544a50 [ci][python] Fix licensing CI failure and check it on every 
change (#10525)
0298544a50 is described below

commit 0298544a50abb14624e6ccf8191b6a867f9ecdf9
Author: Dapeng Sun(孙大鹏) <[email protected]>
AuthorDate: Tue Oct 13 08:57:59 2026 +0800

    [ci][python] Fix licensing CI failure and check it on every change (#10525)
---
 .github/workflows/ci-licensing.yml                     |  4 ----
 .github/workflows/ci.yml                               |  3 +++
 paimon-python/pypaimon/tests/resources/btree/README.md | 18 ++++++++++++++++++
 3 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci-licensing.yml 
b/.github/workflows/ci-licensing.yml
index 3857c2022e..1694621b69 100644
--- a/.github/workflows/ci-licensing.yml
+++ b/.github/workflows/ci-licensing.yml
@@ -64,7 +64,3 @@ jobs:
             -Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties
         env:
           MAVEN_OPTS: -Xmx4096m
-      - name: Check python licensing
-        run: |
-          chmod +x paimon-python/dev/check-licensing.sh
-          ./paimon-python/dev/check-licensing.sh
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f250062d4b..ff57555ea6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -56,6 +56,9 @@ jobs:
             --pattern 'actionlint_1.7.11_linux_amd64.tar.gz' --dir 
"$RUNNER_TEMP"
           tar -xzf "$RUNNER_TEMP/actionlint_1.7.11_linux_amd64.tar.gz" -C 
"$RUNNER_TEMP" actionlint
           "$RUNNER_TEMP/actionlint" -shellcheck= -pyflakes=
+      # The RAT scan takes seconds, so it runs on every change rather than in 
Licensing.
+      - name: Check PyPaimon licensing
+        run: ./paimon-python/dev/check-licensing.sh
       - name: Select affected tests and check changed file sizes
         id: plan
         run: python3 tools/ci/plan.py
diff --git a/paimon-python/pypaimon/tests/resources/btree/README.md 
b/paimon-python/pypaimon/tests/resources/btree/README.md
index a521c23512..bf708a7ffc 100644
--- a/paimon-python/pypaimon/tests/resources/btree/README.md
+++ b/paimon-python/pypaimon/tests/resources/btree/README.md
@@ -1,3 +1,21 @@
+<!--
+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.
+-->
+
 # Java BTree interoperability fixtures
 
 These files are generated by `BTreeFixtureGenerator.java` using the 
repository's

Reply via email to