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

wu-sheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-horizon-ui.git


The following commit(s) were added to refs/heads/main by this push:
     new 0ba945c  license: ignore release scratch dirs in header check
0ba945c is described below

commit 0ba945c8443df09217a768bcf5be5bbf35227d41
Author: Wu Sheng <[email protected]>
AuthorDate: Thu May 21 23:12:56 2026 +0800

    license: ignore release scratch dirs in header check
    
    release.sh / release-finalize.sh clone the repo into scripts/.release-work
    (and .finalize-work). license-eye recursed into that nested copy and failed
    on files whose repo-root-relative ignores (.claude/**, *.tpl) no longer
    matched under the nested path. Exclude **/.release-work/** + 
**/.finalize-work/**.
---
 .licenserc.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.licenserc.yaml b/.licenserc.yaml
index c49ab79..a475456 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -41,6 +41,11 @@ header:
     - 'HEADER'
     - '**/dist/**'
     - '**/node_modules/**'
+    # Release scratch dirs: release.sh / release-finalize.sh clone + stage
+    # the repo here. The check must not recurse into that nested copy (its
+    # paths don't match the repo-root-relative ignores below, e.g. .claude/**).
+    - '**/.release-work/**'
+    - '**/.finalize-work/**'
     - 'docs/**'
     # Agent / dev tooling, not shippable source — skill configs (e.g.
     # local-boot's horizon.*.yaml) carry no ASF header.

Reply via email to