You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by li...@apache.org on 2022/04/01 12:30:25 UTC

[incubator-seatunnel] branch dev updated: [ci] Run auto license only if commit message contains keyword (#1643)

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

lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new a45e306  [ci] Run auto license only if commit message contains keyword (#1643)
a45e306 is described below

commit a45e306bbb640b4839120e38e66d2b0da7557a75
Author: Jiajie Zhong <zh...@hotmail.com>
AuthorDate: Fri Apr 1 20:28:34 2022 +0800

    [ci] Run auto license only if commit message contains keyword (#1643)
    
    This path makes ci `Auto License` only run if commit message
    contains keyword. It seems this CI have buggy in
    https://github.com/apache/incubator-seatunnel/pull/1642
---
 .github/workflows/license.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
index d26434a..2d5ec0d 100644
--- a/.github/workflows/license.yml
+++ b/.github/workflows/license.yml
@@ -41,6 +41,9 @@ jobs:
     name: Auto License
     runs-on: ubuntu-latest
     timeout-minutes: 30
+    # Have a buggy in https://github.com/apache/incubator-seatunnel/pull/1642, Can trigger when commit message contains
+    # keyword `[ci-auto-license]`.
+    if: "contains(toJSON(github.event.commits.*.message), '[ci-auto-license]')"
     env:
       MAVEN_OPTS: -Xmx2G -Xms2G
     steps: