Skip to content

Commit

Permalink
chore: replace .md exclusions with specific files
Browse files Browse the repository at this point in the history
  • Loading branch information
homksei committed Aug 4, 2024
1 parent 6ceea9b commit e102d97
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/.licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
header:
license:
spdx-id: Apache-2.0
pattern: |
pattern: | # `pattern` used when running `skywalking-eyes header check`
Copyright \d{4} Intel Corporation|Copyright contributors to the oneDAL project
Licensed under the Apache License, Version 2.0 \(the "License"\);
Expand All @@ -24,6 +24,20 @@ header:
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.
content: | # `content` used when running `skywalking-eyes header fix`
Copyright contributors to the oneDAL project
Licensed 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.
Expand All @@ -44,8 +58,9 @@ header:
- '**/*.tpl.BUILD'
# Clang-format configs
- '.clang-format'
# All .md files
- '**/*.md'
# Samples READMEs:
- 'samples/daal/cpp/mpi/README.md'
- 'samples/daal/cpp/mysql/README.md'
# All .csv files
- '**/*.csv'
# All Doxygen files and some from docs/
Expand All @@ -63,13 +78,16 @@ header:
- '.github/workflows/**/*.yml'
- '.github/.mergify.yml'
- '.github/CODEOWNERS'
- '.github/ISSUE_TEMPLATE/bug_report.md'
- '.github/pull_request_template.md'
- '.github/renovate.json'
# Specific files
- 'CODE_OF_CONDUCT.md'
- 'license.txt'
- 'third-party-programs-mkl.txt'
- 'third-party-programs.txt'
- 'deploy/local/config.txt'

comment: on-failure

license-location-threshold: 80 # specifies the index threshold where the license header can be located.
license-location-threshold: 111 # specifies the index threshold where the license header can be located.

0 comments on commit e102d97

Please sign in to comment.