Using apache/skywalking-eye to do the license checking work (#207)

This commit is contained in:
hellojukay 2023-09-06 15:27:19 +08:00 committed by GitHub
parent 80ceae3988
commit c582610566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

11
.github/workflows/license-check.yaml vendored Normal file
View File

@ -0,0 +1,11 @@
name: License check
on:
- pull_request
jobs:
Test:
runs-on: ubuntu-20.04
steps:
- name: Check License Header
uses: apache/skywalking-eyes@v0.4.0

13
.licenserc.yaml Normal file
View File

@ -0,0 +1,13 @@
header:
license:
spdx-id: MIT License
copyright-owner: API Testing Authors
paths-ignore:
- 'dist'
- 'licenses'
- '**/*.md'
- 'LICENSE'
- 'NOTICE'
comment: on-failure