You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@resilientdb.apache.org by ju...@apache.org on 2024/05/04 12:47:14 UTC
(incubator-resilientdb) 03/03: add apache license check workflow
This is an automated email from the ASF dual-hosted git repository.
junchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git
commit b6aace2bf73f1790264d77472b6d979a40018163
Author: Ubuntu <ic...@gmail.com>
AuthorDate: Sat May 4 12:46:37 2024 +0000
add apache license check workflow
---
.github/workflows/license.yml | 12 ++++++++++++
.licenserc.yaml | 14 ++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
new file mode 100644
index 00000000..f8f5be7e
--- /dev/null
+++ b/.github/workflows/license.yml
@@ -0,0 +1,12 @@
+name: Check Apache License
+
+on:
+ push
+
+jobs:
+ ubuntu-build:
+ name: check license
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check License Header
+ uses: apache/skywalking-eyes/header@main
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 00000000..9b1a2fce
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,14 @@
+header:
+ license:
+ spdx-id: Apache-2.0
+ copyright-owner: Apache Software Foundation
+
+ paths-ignore:
+ - 'dist'
+ - 'licenses'
+ - '**/*.md'
+ - 'LICENSE'
+ - 'NOTICE'
+
+ comment: on-failure
+