Skip to content

Commit 5c0b30f

Browse files
authored
Migrate license checker to license-eye (#220)
1 parent 23aef6d commit 5c0b30f

File tree

3 files changed

+3
-70
lines changed

3 files changed

+3
-70
lines changed

.licenserc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ header:
3030
- '.github/PULL_REQUEST_TEMPLATE'
3131
- '.gitignore'
3232
- '**/*.json'
33+
- 'venv'
3334

3435
comment: on-failure

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ check-doc-gen: dev-setup doc-gen
6868
fi
6969

7070
license: clean
71-
$(VENV)/python tools/check-license-header.py skywalking tests tools
71+
docker run -it --rm -v $(shell pwd):/github/workspace ghcr.io/apache/skywalking-eyes/license-eye:f461a46e74e5fa22e9f9599a355ab4f0ac265469 header check
7272

7373
test: gen setup-test
7474
$(VENV)/python -m pytest -v tests
@@ -103,6 +103,6 @@ clean:
103103
find . -name "*.pyc" -exec rm -r {} +
104104

105105
release: clean lint license
106-
-tar -zcvf skywalking-python-src-$(VERSION).tgz *
106+
-tar -zcvf skywalking-python-src-$(VERSION).tgz --exclude venv *
107107
gpg --batch --yes --armor --detach-sig skywalking-python-src-$(VERSION).tgz
108108
shasum -a 512 skywalking-python-src-$(VERSION).tgz > skywalking-python-src-$(VERSION).tgz.sha512

tools/check-license-header.py

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)