From f7850716f85978579b89d8f46b01d58684297943 Mon Sep 17 00:00:00 2001 From: homksei Date: Sun, 4 Aug 2024 22:39:08 +0200 Subject: [PATCH] chore: replace `.md` exclusions with specific files --- .github/.licenserc.yaml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/.licenserc.yaml b/.github/.licenserc.yaml index ab07c781398..3d2b18abd45 100644 --- a/.github/.licenserc.yaml +++ b/.github/.licenserc.yaml @@ -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"\); @@ -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. @@ -44,8 +58,9 @@ header: - '**/*.tpl.BUILD' # Clang-format configs - '.clang-format' - # All .md files - - '**/*.md' + # Sampleas READMEs: + - 'samples/daal/cpp/mpi/README.md' + - 'samples/daal/cpp/mysql/README.md' # All .csv files - '**/*.csv' # All Doxygen files and some from docs/ @@ -63,8 +78,11 @@ 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' @@ -72,4 +90,4 @@ header: 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.