You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/12/21 09:23:16 UTC
[skywalking-cli] 01/01: ci: try to use license-eye
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch ci/try-license-eye
in repository https://gitbox.apache.org/repos/asf/skywalking-cli.git
commit 8a78d18c95597c34a3e37cf5e2accd7cc333d674
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Mon Dec 21 17:22:59 2020 +0800
ci: try to use license-eye
---
.github/workflows/go.yml | 6 ++++--
.licenserc.yaml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 6d1bc2d..7650577 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -31,13 +31,15 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.14
- id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
submodules: true
-
+
+ - name: Check License
+ uses: apache/skywalking-eyes@main
+
- name: Check code generation
run: make check-codegen
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 0000000..6c7680c
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,52 @@
+header:
+ license: |
+ Licensed to 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. Apache Software Foundation (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.
+ pattern: |
+ 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. (Apache Software Foundation \(ASF\)|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.
+
+ paths-ignore:
+ - '.git/**'
+ - '.gitignore'
+ - '.gitmodules'
+ - '.idea/**'
+ - '**/bin/**'
+ - '**/*.md'
+ - '**/.DS_Store'
+ - '**/testdata/**'
+ - 'go.mod'
+ - 'go.sum'
+ - 'LICENSE'
+ - 'NOTICE'
+ - 'dist/**'
+ - 'query-protocol/**'
+ - '.graphqlconfig'