File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,16 @@ repos:
7171 - --license-filepath
7272 - .github/workflows/license-templates/LICENSE.txt
7373 - --fuzzy-match-generates-todo
74+ - id : insert-license
75+ name : add license for all YAML files
76+ description : automatically adds a licence header to all YAML files that don't have a license header
77+ files : \.ya?ml$
78+ args :
79+ - --comment-style
80+ - ' |#|'
81+ - --license-filepath
82+ - .github/workflows/license-templates/LICENSE.txt
83+ - --fuzzy-match-generates-todo
7484 - repo : https://github.com/pre-commit/pre-commit-hooks
7585 rev : v6.0.0
7686 hooks :
Original file line number Diff line number Diff line change 55# to you under the Apache License, Version 2.0 (the
66# "License"); you may not use this file except in compliance
77# with the License. You may obtain a copy of the License at
8-
8+ #
99# http://www.apache.org/licenses/LICENSE-2.0
10-
10+ #
1111# Unless required by applicable law or agreed to in writing,
1212# software distributed under the License is distributed on an
1313# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
You can’t perform that action at this time.
0 commit comments