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 @@ -62,6 +62,16 @@ repos:
6262 - .github/workflows/license-templates/LICENSE.txt
6363 - --fuzzy-match-generates-todo
6464 exclude : ^(CHANGES|ISSUE_TEMPLATE|PULL_REQUEST_TEMPLATE)\.md$|^ui/docs/(full|smoke)-test-plan\.template\.md$
65+ - id : insert-license
66+ name : add license for all YAML files
67+ description : automatically adds a licence header to all YAML files that don't have a license header
68+ files : \.ya?ml$
69+ args :
70+ - --comment-style
71+ - ' |#|'
72+ - --license-filepath
73+ - .github/workflows/license-templates/LICENSE.txt
74+ - --fuzzy-match-generates-todo
6575 - repo : https://github.com/pre-commit/pre-commit-hooks
6676 rev : v6.0.0
6777 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