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 ae4b1c2667 [CI] pre-commit: auto add license check for Java files
(#1807)
ae4b1c2667 is described below
commit ae4b1c266705b13a1213f813af1c673e18b800d3
Author: John Bampton <[email protected]>
AuthorDate: Thu Feb 13 08:06:49 2025 +1000
[CI] pre-commit: auto add license check for Java files (#1807)
---
.pre-commit-config.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9d638399bc..7e1cbb6826 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -41,6 +41,15 @@ repos:
- --license-filepath
- .github/workflows/license-templates/LICENSE.txt
- --fuzzy-match-generates-todo
+ - id: insert-license
+ name: add license for all Java files
+ files: \.java$
+ args:
+ - --comment-style
+ - "/*|*|*/"
+ - --license-filepath
+ - .github/workflows/license-templates/LICENSE.txt
+ - --fuzzy-match-generates-todo
- id: insert-license
name: add license for all Markdown files
files: \.md$