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

kezhenxu94 pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git


The following commit(s) were added to refs/heads/develop by this push:
     new df7857c  Work around the "Hound" required check and 3rd-party GHA 
(#148)
df7857c is described below

commit df7857c9fb75a371338e8f8dc6a823e9e261b865
Author: Zhenxu Ke <[email protected]>
AuthorDate: Wed Apr 7 21:50:57 2021 +0800

    Work around the "Hound" required check and 3rd-party GHA (#148)
---
 .asf.yaml                            | 25 +++++++++++++++++++++++++
 .github/actions/actions-ding         |  1 +
 .github/workflows/github-actions.yml |  4 ++--
 .github/workflows/test.yaml          | 11 +++++++++++
 .gitmodules                          |  3 +++
 5 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..cf5c8d2
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,25 @@
+  
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+github:
+  protected_branches:
+    develop:
+      required_status_checks:
+        strict: true
+        contexts:
+          - Hound
diff --git a/.github/actions/actions-ding b/.github/actions/actions-ding
new file mode 160000
index 0000000..2a68a4d
--- /dev/null
+++ b/.github/actions/actions-ding
@@ -0,0 +1 @@
+Subproject commit 2a68a4d06ed966d2e5c28178e7187c107ec57862
diff --git a/.github/workflows/github-actions.yml 
b/.github/workflows/github-actions.yml
index 809f551..1783b8c 100644
--- a/.github/workflows/github-actions.yml
+++ b/.github/workflows/github-actions.yml
@@ -88,7 +88,7 @@ jobs:
         # Because the contexts of push and PR are different, there are two 
Notify.
         # Notifications are triggered only in the dubbogo/dubbo-go-pixiu 
repository.
       - name: DingTalk Message Notify only Push
-        uses: zcong1993/[email protected]
+        uses: ./.github/actions/actions-ding
         # Whether job is successful or not, always () is always true.
         if: |
           always() &&
@@ -109,7 +109,7 @@ jobs:
             }
 
       - name: DingTalk Message Notify only PR
-        uses: zcong1993/[email protected]
+        uses: ./.github/actions/actions-ding
         if: |
           always() &&
           github.event_name == 'pull_request_target' &&
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
new file mode 100644
index 0000000..fd63c78
--- /dev/null
+++ b/.github/workflows/test.yaml
@@ -0,0 +1,11 @@
+name: Hound
+
+on:
+  pull_request:
+
+jobs:
+  Hound:
+    runs-on: ubuntu-18.04
+    steps:
+      - uses: actions/checkout@v2
+      - run: exit 0
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..19b28cf
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule ".github/actions/actions-ding"]
+       path = .github/actions/actions-ding
+       url = https://github.com/zcong1993/actions-ding

Reply via email to