Skip to content

Commit 07aab8d

Browse files
committed
ci: add license check with skywalking-eyes GitHub action
Include `.licenserc.yaml` for configuration and GitHub workflow for automated checks. Signed-off-by: Christian Grönke <[email protected]>
1 parent c5bfd22 commit 07aab8d

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/license.yml

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: pull_request
4+
5+
jobs:
6+
license:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: License Eye Header
11+
uses: apache/[email protected]

.licenserc.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
header:
2+
license:
3+
spdx-id: Apache-2.0
4+
copyright-owner: OpenPRoT a Series of LF Projects, LLC
5+
copyright-year: 2025
6+
software-name: skywalking-eyes # <4>
7+
8+
paths:
9+
- '**/*.rs'
10+
11+
comment: on-failure

0 commit comments

Comments
 (0)