-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add
skywalking-eyes
license header check (#2867)
- Loading branch information
Showing
390 changed files
with
5,256 additions
and
5,801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# 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. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
header: | ||
license: | ||
spdx-id: Apache-2.0 | ||
copyright-owner: contributors to the oneDAL project | ||
pattern: | | ||
(Copyright \d{4} Intel Corporation|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\. | ||
See the License for the specific language governing permissions and | ||
limitations under the License\. | ||
paths: | ||
- '**' | ||
|
||
paths-ignore: | ||
- '.gitignore' | ||
- '.gitattributes' | ||
# Bazel related files | ||
- '.bazelrc' | ||
- '.bazelversion' | ||
- 'BUILD' | ||
- 'WORKSPACE' | ||
- 'MODULE.bazel' | ||
- '**/*.tpl.BUILD' | ||
# Clang-format config | ||
- '.clang-format' | ||
# Editorconfig configs | ||
- '.ecrc' | ||
- '.editorconfig' | ||
# Samples READMEs and licenses: | ||
- 'samples/daal/cpp/mpi/README.md' | ||
- 'samples/daal/cpp/mysql/README.md' | ||
- 'samples/daal/cpp/mpi/license.txt' | ||
- 'samples/daal/cpp/mysql/license.txt' | ||
# All .csv files | ||
- '**/*.csv' | ||
# All Doxygen files and something from docs/ | ||
- 'docs/doxygen/**' | ||
- 'docs/requirements.txt' | ||
- 'docs/source/_static/style.css' | ||
- 'docs/source/_templates/layout.html' | ||
- 'docs/source/substitutions_common.txt' | ||
- 'docs/source/substitutions_specific.txt' | ||
# TODO: Remove `conformance-scripts` from the ignore list after the files will be deleted | ||
- '.ci/scripts/conformance-scripts/algorithms.txt' | ||
- '.ci/scripts/conformance-scripts/run_tests_with_context.py' | ||
# Some files from .ci/.github | ||
- '.ci/pipeline/**/*.yml' | ||
- '.ci/env/environment.yml' | ||
- '.github/workflows/*.yml' | ||
- '.github/.mergify.yml' | ||
- '.github/CODEOWNERS' | ||
- '.github/renovate.json' | ||
# Specific files | ||
- 'LICENSE' | ||
- 'third-party-programs-mkl.txt' | ||
- 'third-party-programs.txt' | ||
- 'deploy/local/config.txt' | ||
- 'deploy/nuget/inteldal.nuspec.tpl' | ||
|
||
comment: never | ||
|
||
license-location-threshold: 111 # specifies the index threshold where the license header can be located. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Check License Header | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: read-all | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}-${{ github.event.number || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
check-license-header: | ||
name: Copyright Check | ||
if: github.repository == 'uxlfoundation/oneDAL' | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: "Checkout code" | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: "Run check" | ||
uses: apache/skywalking-eyes/header@cd7b195c51fd3d6ad52afceb760719ddc6b3ee91 # v0.6.0 | ||
with: | ||
config: ".github/.licenserc.yaml" | ||
mode: "check" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cpp/oneapi/dal/algo/decision_forest/backend/gpu/train_kernel_hist_impl.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cpp/oneapi/dal/algo/decision_forest/backend/gpu/train_kernel_hist_impl_dpc.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cpp/oneapi/dal/algo/decision_forest/backend/gpu/train_service_kernels.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cpp/oneapi/dal/algo/decision_forest/backend/gpu/train_service_kernels_dpc.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.