This is an automated email from the ASF dual-hosted git repository. tison pushed a commit to branch license-header in repository https://gitbox.apache.org/repos/asf/fesod.git
commit 995ea35c30f8cebf71bda8124dc8eba2c254749e Author: tison <[email protected]> AuthorDate: Fri Sep 26 23:57:36 2025 +0800 chore: add license header config Signed-off-by: tison <[email protected]> --- .github/workflows/ci.yml | 2 ++ licenserc.toml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5737802..a2f6c426 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 + - name: Check License Header + uses: korandoru/hawkeye@v6 - name: Cache Local Maven Repository uses: actions/cache@v4 with: diff --git a/licenserc.toml b/licenserc.toml new file mode 100644 index 00000000..d49c56b0 --- /dev/null +++ b/licenserc.toml @@ -0,0 +1,31 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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-ASF.txt" + +includes = [ + '**/*.css', + '**/*.java', + '**/*.js', + '**/*.jsx', + '**/*.ts', + '**/*.tsx', + '**/*.xml', + '**/*.yml', + '**/*.yaml', + '**/*.toml', +] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
