1
1
#
2
- # Licensed to Apache Software Foundation (ASF) under one or more contributor
3
- # license agreements. See the NOTICE file distributed with
4
- # this work for additional information regarding copyright
5
- # ownership. Apache Software Foundation ( ASF) licenses this file to you under
6
- # the Apache License, Version 2.0 (the "License"); you may
7
- # not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
2
+ # Licensed to the Apache Software Foundation (ASF) under one
3
+ # or more contributor license agreements. See the NOTICE file
4
+ # distributed with this work for additional information
5
+ # regarding copyright ownership. The ASF licenses this file
6
+ # to you under the Apache License, Version 2.0 (the
7
+ # "License"); you may not use this file except in compliance
8
+ # with the License. You may obtain a copy of the License at
9
9
#
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
11
#
12
12
# Unless required by applicable law or agreed to in writing,
13
13
# software distributed under the License is distributed on an
16
16
# specific language governing permissions and limitations
17
17
# under the License.
18
18
#
19
- header : # `header` section is configurations for source codes license header.
19
+
20
+ header :
20
21
license :
21
- spdx-id : Apache-2.0 # the spdx id of the license, it's convenient when your license is standard SPDX license.
22
- copyright-owner : Apache Software Foundation # the copyright owner to replace the [owner] in the `spdx-id` template.
23
- content : | # `license` will be used as the content when `fix` command needs to insert a license header.
24
- Licensed to Apache Software Foundation (ASF) under one or more contributor
25
- license agreements. See the NOTICE file distributed with
26
- this work for additional information regarding copyright
27
- ownership. Apache Software Foundation (ASF) licenses this file to you under
28
- the Apache License, Version 2.0 (the "License"); you may
29
- not use this file except in compliance with the License.
30
- You may obtain a copy of the License at
31
- http://www.apache.org/licenses/LICENSE-2.0
32
- Unless required by applicable law or agreed to in writing,
33
- software distributed under the License is distributed on an
34
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35
- KIND, either express or implied. See the License for the
36
- specific language governing permissions and limitations
37
- under the License.
38
- # `pattern` is optional regexp if all the file headers are the same as `license` or the license of `spdx-id` and `copyright-owner`.
39
- pattern : |
40
- Licensed to the Apache Software Foundation under one or more contributor
41
- license agreements. See the NOTICE file distributed with
42
- this work for additional information regarding copyright
43
- ownership. The Apache Software Foundation licenses this file to you under
44
- the Apache License, Version 2.0 \(the "License"\); you may
45
- not use this file except in compliance with the License.
46
- You may obtain a copy of the License at
47
- http://www.apache.org/licenses/LICENSE-2.0
48
- Unless required by applicable law or agreed to in writing,
49
- software distributed under the License is distributed on an
50
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
51
- KIND, either express or implied. See the License for the
52
- specific language governing permissions and limitations
53
- under the License.
54
- paths : # `paths` are the path list that will be checked (and fixed) by license-eye, default is ['**'].
55
- - ' **'
22
+ spdx-id : Apache-2.0
23
+ copyright-owner : Apache Software Foundation
56
24
57
- paths-ignore : # `paths-ignore` are the path list that will be ignored by license-eye.
58
- - ' dist'
59
- - ' licenses'
25
+ paths-ignore :
26
+ - ' .github/PULL_REQUEST_TEMPLATE'
27
+ - ' .gitmodules'
28
+ - ' **/.gitkeep'
29
+ - ' **/.gitignore'
60
30
- ' **/*.md'
31
+ - ' **/*.json'
32
+ - ' **/*.ftl'
33
+ - ' **/*.iml'
34
+ - ' **/*.ini'
35
+ - ' **/*.crt'
36
+ - ' **/*.pem'
61
37
- ' LICENSE'
62
38
- ' NOTICE'
39
+ - ' DISCLAIMER-WIP'
63
40
64
- comment : on-failure # on what condition license-eye will comment on the pull request, `on-failure`, `always`, `never`.
41
+ comment : on-failure
0 commit comments