You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/07/21 01:27:23 UTC
[rocketmq-clients] branch master updated: Support license checker (#65)
This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
The following commit(s) were added to refs/heads/master by this push:
new d0fa7a3 Support license checker (#65)
d0fa7a3 is described below
commit d0fa7a3be67712ec6ad28223c6a1855e8c91e22c
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Thu Jul 21 09:27:19 2022 +0800
Support license checker (#65)
---
.github/workflows/license_checker.yml | 15 +++++++++++++++
.licenserc.json | 3 +++
2 files changed, 18 insertions(+)
diff --git a/.github/workflows/license_checker.yml b/.github/workflows/license_checker.yml
new file mode 100644
index 0000000..5735f8b
--- /dev/null
+++ b/.github/workflows/license_checker.yml
@@ -0,0 +1,15 @@
+name: Check License Lines
+on:
+ pull_request:
+ types: [opened, reopened, synchronize]
+ push:
+ branches:
+ - master
+jobs:
+ check-license-lines:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Check License Lines
+ uses: kt3k/license_checker@v1.0.6
diff --git a/.licenserc.json b/.licenserc.json
new file mode 100644
index 0000000..4279a24
--- /dev/null
+++ b/.licenserc.json
@@ -0,0 +1,3 @@
+{
+ "**/*.java": "/\\*\nLicensed to the Apache Software Foundation*"
+ }
\ No newline at end of file