Skip to content

Commit b6aace2

Browse files
committed
add apache license check workflow
1 parent c4c0726 commit b6aace2

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/license.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Check Apache License
2+
3+
on:
4+
push
5+
6+
jobs:
7+
ubuntu-build:
8+
name: check license
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check License Header
12+
uses: apache/skywalking-eyes/header@main

.licenserc.yaml

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

0 commit comments

Comments
 (0)