github.com/polarismesh/polaris@v1.17.8/.github/workflows/licence-checker.yml (about)

     1  # Tencent is pleased to support the open source community by making Polaris available.
     2  #
     3  # Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
     4  #
     5  # Licensed under the BSD 3-Clause License (the "License");
     6  # you may not use this file except in compliance with the License.
     7  # You may obtain a copy of the License at
     8  #
     9  # https://opensource.org/licenses/BSD-3-Clause
    10  #
    11  # Unless required by applicable law or agreed to in writing, software distributed
    12  # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
    13  # CONDITIONS OF ANY KIND, either express or implied. See the License for the
    14  # specific language governing permissions and limitations under the License.
    15  
    16  name: License checker
    17  
    18  on:
    19    push:
    20      branches:
    21        - main
    22        - release*
    23    pull_request:
    24      branches:
    25        - main
    26        - release*
    27  
    28  jobs:
    29    check-license:
    30      runs-on: ubuntu-latest
    31      steps:
    32        - uses: actions/checkout@v2
    33  
    34        - name: Check License Header
    35          uses: apache/skywalking-eyes@main
    36          env:
    37            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    38          with:
    39            log: info
    40            config: .licenserc.yaml