You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2022/07/08 02:39:18 UTC

[skywalking-rust] 01/01: Add dependency license check

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/skywalking-rust.git

commit 9df49ca41a47f2f7ab3799d6754b38cce24aaec2
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Fri Jul 8 10:39:07 2022 +0800

    Add dependency license check
---
 .github/licenserc.yaml    | 4 ++++
 .github/workflows/ci.yaml | 7 ++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/.github/licenserc.yaml b/.github/licenserc.yaml
index 87be027..45ba403 100644
--- a/.github/licenserc.yaml
+++ b/.github/licenserc.yaml
@@ -30,3 +30,7 @@ header:
     - '**/.gitmodules'
 
   comment: on-failure
+
+dependency:
+  files:
+    - Cargo.toml
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index e770f68..c5ddd0c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -22,6 +22,7 @@ on:
   push:
     branches:
       - master
+      - test
     tags:
       - 'v*'
 
@@ -33,7 +34,11 @@ jobs:
         with:
           submodules: 'recursive'
       - name: Check License Header
-        uses: apache/skywalking-eyes@ce2b365019e4fee22a2115b629dd6cfb675a9208
+        uses: apache/skywalking-eyes/header@9e709d8acc6abc402962e91b77cef260b940c60f
+        with:
+          config: .github/licenserc.yaml
+      - name: Check Dependency License
+        uses: apache/skywalking-eyes/dependency@9e709d8acc6abc402962e91b77cef260b940c60f
         with:
           config: .github/licenserc.yaml
       - name: Install Rust toolchain