mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 09:08:43 +08:00
[skip ci]Add license check (#10779)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
3c5ef43783
commit
e646382518
11
.github/.licenserc.yaml
vendored
Normal file
11
.github/.licenserc.yaml
vendored
Normal 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
.github/workflows/license-checker.yaml
vendored
Normal file
14
.github/workflows/license-checker.yaml
vendored
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user