[skip ci]Add license check (#10779)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
zhuwenxing
2021-10-27 20:54:23 +08:00
committed by GitHub
parent 3c5ef43783
commit e646382518
2 changed files with 25 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
header:
license:
spdx-id: Apache-2.0
copyright-owner: LF AI & Data foundation
paths:
- 'internal/**/*.go'
dependency:
files:
- go.mod
+14
View File
@@ -0,0 +1,14 @@
name: License Checker
on:
workflow_dispatch:
jobs:
check-license:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check License Header
uses: apache/skywalking-eyes@main
with:
log: info
config: .github/.licenserc.yaml