This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 4088ff6246 [CI] pre-commit clean up insert license for other files
(#2535)
4088ff6246 is described below
commit 4088ff6246340f00ca3a7612de9f72b9cf30a730
Author: John Bampton <[email protected]>
AuthorDate: Fri Nov 28 05:41:48 2025 +1000
[CI] pre-commit clean up insert license for other files (#2535)
---
.github/CODEOWNERS | 17 +++++++++++++++++
.pre-commit-config.yaml | 12 +++++++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 3a1ffe02fb..2f477398a9 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -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.
+
* @jiayuasu
.editorconfig @jbampton @jiayuasu
.pre-commit-config.yaml @jbampton @jiayuasu
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e5f5b56d90..7e034a5648 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -222,7 +222,17 @@ repos:
- id: insert-license
name: add license for all other files
description: automatically adds a licence header to all other files
that don't have a license header
- files:
^\.(editorconfig|gitattributes|prettierignore|prettierrc|shellcheckrc)$|^.*/\.gitignore$|^tools/maven/scalafmt\.conf$
+ files: |
+ (?x)^(
+ \.editorconfig|
+ \.gitattributes|
+ \.prettierignore|
+ \.prettierrc|
+ \.shellcheckrc|
+ \.github/CODEOWNERS|
+ .*/\.gitignore|
+ tools/maven/scalafmt\.conf
+ )$
args:
- --comment-style
- '|#|'