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

zfc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/main by this push:
     new 2f4f1e84 license: polish and  add checker
2f4f1e84 is described below

commit 2f4f1e84373f26981562df57cb00c9cb3560cb10
Author: Zhaofeng Chen <[email protected]>
AuthorDate: Sun Jul 20 04:23:48 2025 +0000

    license: polish and  add checker
---
 .github/workflows/license.yml | 31 +++++++++++++++++++++++++++++++
 .licenserc.yaml               |  3 +--
 2 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
new file mode 100644
index 00000000..b97c3a52
--- /dev/null
+++ b/.github/workflows/license.yml
@@ -0,0 +1,31 @@
+# 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.
+
+name: License Check
+
+on: [push, pull_request]
+
+jobs:
+  license:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Check License Header
+        uses: 
apache/skywalking-eyes/header@501a28d2fb4a9b962661987e50cf0219631b32ff
+        # with:
+        #   log: debug # optional: set the log level. The default value is 
`info`.
+        #   config: .licenserc.yaml # optional: set the config file. The 
default value is `.licenserc.yaml`.
+        #   token: # optional: the token that license eye uses when it needs 
to comment on the pull request. Set to empty ("") to disable commenting on pull 
request. The default value is ${{ github.token }}
+        #   mode: # optional: Which mode License-Eye should be run in. Choices 
are `check` or `fix`. The default value is `check`. 
\ No newline at end of file
diff --git a/.licenserc.yaml b/.licenserc.yaml
index dd9c1328..bb7656c5 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -32,8 +32,7 @@ header:
     - '.gitattributes'
     - '.github/ISSUE_TEMPLATE/**'
     - '.gitmodules'
-    - 'DISCLAIMER*'
-    - 'KEYS'
+    - 'DISCLAIMER'
     - 'LICENSE'
     - 'NOTICE'
     - 'licenses'


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

Reply via email to