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

lizhanhui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new cf3c1ef57 Enhance the mergeability: add status checker about the 
protected branch (#4871)
cf3c1ef57 is described below

commit cf3c1ef57ff6b6dd148ac4816bd894a617ab971a
Author: Aaron Ai <[email protected]>
AuthorDate: Tue Aug 23 22:55:25 2022 +0800

    Enhance the mergeability: add status checker about the protected branch 
(#4871)
---
 .asf.yaml                              | 7 ++++++-
 .github/workflows/build.yaml           | 2 +-
 .github/workflows/license-checker.yaml | 1 -
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 55f89efa1..d2bca4daa 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -32,4 +32,9 @@ github:
     rebase: true
   protected_branches:
     master: {}
-    develop: {}
+    develop:
+      required_status_checks:
+        contexts:
+          - misspell-check
+          - check-license
+          - maven-compile (ubuntu-18.04, JDK-8)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1801a00b6..26313b58a 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -6,7 +6,7 @@ on:
     branches: [master, develop]
 jobs:
   java_build:
-    name: "compile (${{ matrix.os }}, JDK-${{ matrix.jdk }})"
+    name: "maven-compile (${{ matrix.os }}, JDK-${{ matrix.jdk }})"
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
diff --git a/.github/workflows/license-checker.yaml 
b/.github/workflows/license-checker.yaml
index 584f5f95c..259fdd7ff 100644
--- a/.github/workflows/license-checker.yaml
+++ b/.github/workflows/license-checker.yaml
@@ -25,7 +25,6 @@ on:
 jobs:
   check-license:
     runs-on: ubuntu-latest
-
     steps:
       - uses: actions/checkout@v3
       - name: Check License Header

Reply via email to