diff --git a/.github/workflows/license.yaml b/.github/workflows/license.yaml index 5799fcde..286cd15a 100644 --- a/.github/workflows/license.yaml +++ b/.github/workflows/license.yaml @@ -13,4 +13,4 @@ jobs: steps: - uses: actions/checkout@v2 - name: Check License Header - uses: apache/skywalking-eyes/header@main + uses: korandoru/hawkeye@v3 diff --git a/.licenserc.yaml b/.licenserc.yaml deleted file mode 100644 index dfcb6df2..00000000 --- a/.licenserc.yaml +++ /dev/null @@ -1,14 +0,0 @@ -header: - license: - spdx-id: Apache-2.0 - copyright-owner: Greptime Team - - paths: - - "**/*.rs" - - "**/*.py" - - comment: on-failure - -dependency: - files: - - Cargo.toml diff --git a/licenserc.toml b/licenserc.toml new file mode 100644 index 00000000..8bcf6c45 --- /dev/null +++ b/licenserc.toml @@ -0,0 +1,24 @@ +# Copyright 2023 Greptime Team +# +# 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. + +headerPath = "Apache-2.0.txt" + +includes = [ + "*.rs", + "*.py", +] + +[properties] +inceptionYear = 2023 +copyrightOwner = "Greptime Team"