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

timbrown pushed a commit to branch license-check-fix
in repository https://gitbox.apache.org/repos/asf/incubator-xtable.git

commit e55151f83af136d6eb60698db65a97877560c5c6
Author: Timothy Brown <t...@onehouse.ai>
AuthorDate: Thu May 23 22:16:32 2024 -0700

    fix licencse check
---
 .licenserc.yaml                                         |  4 ++++
 README.md                                               |  3 +--
 .../src/test/resources/schemas/basic_schema.avsc        | 17 +++++++++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/.licenserc.yaml b/.licenserc.yaml
index 538d869b..04cdbf5d 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -43,4 +43,8 @@ header:
     - '**/LICENSE'
     - '**/NOTICE'
     - '**/.gitkeep'
+    - 'demo/data/**'
+    - 'website/node_modules/**'
+    - 'website/build/**'
+    - 'website/.docusaurus/**'
   comment: on-failure
diff --git a/README.md b/README.md
index be15659f..50762357 100644
--- a/README.md
+++ b/README.md
@@ -101,8 +101,7 @@ of a custom hadoop config file, see 
[hadoop.xml](https://xtable.apache.org/docs/
 
 # New file type spotless automatic formatting and modification operation
 
-When a new type of file is merged into the warehouse, it is possible that the 
`spotless-maven-plugin` will not add the license header by default, and when it 
is detected by ci and prompted to add the `license header`, what we have to do 
is to modify the project. The modified part of `pom.xml` under the root path is 
as follows:
-
+When a new type of file is added to the repo, it is possible that the 
`spotless-maven-plugin` will not add the license header by default. This is 
detected by the `License Check` GitHub Action. When this happens the developer 
should must modify part of `pom.xml` under the root path is as follows:
 ```xml
 <formats>
     <format>
diff --git a/xtable-core/src/test/resources/schemas/basic_schema.avsc 
b/xtable-core/src/test/resources/schemas/basic_schema.avsc
index d37ae3ab..613094c1 100644
--- a/xtable-core/src/test/resources/schemas/basic_schema.avsc
+++ b/xtable-core/src/test/resources/schemas/basic_schema.avsc
@@ -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.
+ */
 {
   "type": "record",
   "name": "Sample",

Reply via email to