Skip to content

Commit c582610

Browse files
authored
Using apache/skywalking-eye to do the license checking work (#207)
1 parent 80ceae3 commit c582610

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/license-check.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: License check
2+
3+
on:
4+
- pull_request
5+
6+
jobs:
7+
Test:
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- name: Check License Header
11+
uses: apache/[email protected]

.licenserc.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
header:
2+
license:
3+
spdx-id: MIT License
4+
copyright-owner: API Testing Authors
5+
6+
paths-ignore:
7+
- 'dist'
8+
- 'licenses'
9+
- '**/*.md'
10+
- 'LICENSE'
11+
- 'NOTICE'
12+
13+
comment: on-failure

0 commit comments

Comments
 (0)