You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by pd...@apache.org on 2020/11/26 14:24:08 UTC
[zeppelin] 01/01: Add github actions workflow (rat)
This is an automated email from the ASF dual-hosted git repository.
pdallig pushed a commit to branch github_actions
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
commit e6884a742f5e4a70364bb668e9ea2cce2d7fdeb7
Author: Philipp Dallig <ph...@gmail.com>
AuthorDate: Thu Nov 26 15:07:54 2020 +0100
Add github actions workflow (rat)
---
.github/workflows/rat.yml | 22 ++++++++++++++++++++++
pom.xml | 2 +-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/rat.yml b/.github/workflows/rat.yml
new file mode 100644
index 0000000..b009390
--- /dev/null
+++ b/.github/workflows/rat.yml
@@ -0,0 +1,22 @@
+name: rat
+on:
+ push:
+ branches: [master, github_actions]
+ pull_request:
+ branches: [master, github_actions]
+ types: [opened, synchronize]
+
+jobs:
+ license-check:
+ runs-on: ubuntu-18.04
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Set up JDK 8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 8
+ - name: Check Rat
+ run: mvn -B apache-rat:check -Prat
+ env:
+ MAVEN_OPTS: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
diff --git a/pom.xml b/pom.xml
index 262b5b2..cc33ebe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1705,7 +1705,7 @@
<exclude>**/.idea/</exclude>
<exclude>**/*.iml</exclude>
<exclude>.git/</exclude>
- <exclude>.github/*</exclude>
+ <exclude>.github/</exclude>
<exclude>.gitignore</exclude>
<exclude>git.properties</exclude>
<exclude>.repository/</exclude>