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 216621c88b [CI] pre-commit auto add license headers to Rmd files
(#2754)
216621c88b is described below
commit 216621c88b9658e989e68ac2dd94aaf03ed74bdc
Author: John Bampton <[email protected]>
AuthorDate: Mon Mar 16 14:33:37 2026 +1000
[CI] pre-commit auto add license headers to Rmd files (#2754)
---
.pre-commit-config.yaml | 10 ++++++++++
R/vignettes/articles/apache-sedona.Rmd | 19 +++++++++++++++++++
R/vignettes/articles/raster.Rmd | 19 +++++++++++++++++++
3 files changed, 48 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 41eae05f2b..4c981c7ac5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -144,6 +144,16 @@ repos:
docs/blog/.*\.md|
docs/index\.md
)$
+ - id: insert-license
+ name: add license for all R Markdown files
+ description: automatically adds a licence header to all R Markdown
files that don't have a license header
+ files: \.Rmd$
+ args:
+ - --comment-style
+ - '<!--||-->'
+ - --license-filepath
+ - .github/workflows/license-templates/LICENSE.txt
+ - --fuzzy-match-generates-todo
- id: insert-license
name: add license for all Makefile files
description: automatically adds a licence header to all Makefiles that
don't have a license header
diff --git a/R/vignettes/articles/apache-sedona.Rmd
b/R/vignettes/articles/apache-sedona.Rmd
index 299941aa6a..929d54789d 100644
--- a/R/vignettes/articles/apache-sedona.Rmd
+++ b/R/vignettes/articles/apache-sedona.Rmd
@@ -1,3 +1,22 @@
+<!--
+ 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.
+-->
+
---
title: "Introduction to Apache Sedona for R"
output: rmarkdown::html_vignette
diff --git a/R/vignettes/articles/raster.Rmd b/R/vignettes/articles/raster.Rmd
index 832fb0403e..fecabbd4db 100644
--- a/R/vignettes/articles/raster.Rmd
+++ b/R/vignettes/articles/raster.Rmd
@@ -1,3 +1,22 @@
+<!--
+ 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.
+-->
+
---
title: "Using raster data in Apache Sedona for R"
output: rmarkdown::html_vignette