You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2023/05/03 03:30:21 UTC

[shardingsphere] branch master updated: Refactor : make checkstyle and check license as default check (#25433)

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

zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 48295b62693 Refactor : make checkstyle and check license as default check (#25433)
48295b62693 is described below

commit 48295b62693cced672bedd8201743d083ef2b1de
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Wed May 3 11:30:13 2023 +0800

    Refactor : make checkstyle and check license as default check (#25433)
    
    Co-authored-by: shardingsphere <de...@shardingsphere.apache.org>
---
 .asf.yaml                              |  4 +++-
 .github/workflows/check-checkstyle.yml | 20 --------------------
 2 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 13da60b4aac..9315a6e14c4 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -47,7 +47,9 @@ github:
   protected_branches:
     master:
       required_status_checks:
-        strict: true
+        contexts:
+          - Check - CheckStyle
+          - Check - License
       required_pull_request_reviews:
         dismiss_stale_reviews: true
         required_approving_review_count: 1
diff --git a/.github/workflows/check-checkstyle.yml b/.github/workflows/check-checkstyle.yml
index 93f7c77110e..d78acf78b78 100644
--- a/.github/workflows/check-checkstyle.yml
+++ b/.github/workflows/check-checkstyle.yml
@@ -19,27 +19,7 @@ name: Check - CheckStyle and License
 
 on:
   push:
-    branches: [ master, dev ]
-    paths:
-      - '**/src/main/**'
-      - '**/src/test/**'
-      - 'src/resources/**'
-      - '.github/workflows/check-checkstyle.yml'
-      - 'examples/shardingsphere-example-generator/**'
-      - 'test/e2e/agent/plugins/**'
-      - '!examples/**'
-      - '!*.md'
   pull_request:
-    branches: [ master ]
-    paths:
-      - '**/src/main/**'
-      - '**/src/test/**'
-      - 'src/resources/**'
-      - '.github/workflows/check-checkstyle.yml'
-      - 'examples/shardingsphere-example-generator/**'
-      - 'test/e2e/agent/plugins/**'
-      - '!examples/**'
-      - '!*.md'
   workflow_dispatch:
 
 concurrency: