This is an automated email from the ASF dual-hosted git repository.
jermy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
The following commit(s) were added to refs/heads/master by this push:
new 76fa64498 add github token for license check comment (#2139)
76fa64498 is described below
commit 76fa64498a06941a08eb645ed2e30b34dcdc87f4
Author: YangJiaqi <[email protected]>
AuthorDate: Thu Mar 2 21:22:16 2023 +0800
add github token for license check comment (#2139)
---
.github/workflows/ci.yml | 6 ------
.github/workflows/licence-checker.yml | 12 ++++++++++++
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fd8df7f9f..9c78051f7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,12 +48,6 @@ jobs:
with:
fetch-depth: 2
- - name: License check(RAT)
- run: |
- mvn apache-rat:check -ntp
- find ./ -name rat.txt -print0 | xargs -0 -I file cat file >
merged-rat.txt
- grep "Binaries" merged-rat.txt -C 3 && cat merged-rat.txt
-
- name: Compile
run: |
mvn clean compile -U -Dmaven.javadoc.skip=true -ntp
diff --git a/.github/workflows/licence-checker.yml
b/.github/workflows/licence-checker.yml
index 9e595c31c..b28d1a81b 100644
--- a/.github/workflows/licence-checker.yml
+++ b/.github/workflows/licence-checker.yml
@@ -19,4 +19,16 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
log: info
+ token: ${{ github.token }}
config: .licenserc.yaml
+
+ - uses: actions/setup-java@v3
+ with:
+ java-version: '11'
+ distribution: 'adopt'
+
+ - name: License check(RAT)
+ run: |
+ mvn apache-rat:check -ntp
+ find ./ -name rat.txt -print0 | xargs -0 -I file cat file >
merged-rat.txt
+ grep "Binaries" merged-rat.txt -C 3 && cat merged-rat.txt