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

albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new 4a5ec3e  Migrate Github Rule Profile (#8090)
4a5ec3e is described below

commit 4a5ec3e55490e9be734e16f9220d0488bee2761b
Author: Albumen Kevin <[email protected]>
AuthorDate: Fri Jun 18 11:43:18 2021 +0800

    Migrate Github Rule Profile (#8090)
    
    * move pr template
    
    * move travis properties
    
    * add .asf.yaml
    
    * upgrade version
    
    * change travis branch
---
 .asf.yaml                | 41 +++++++++++++++++++++++++++++++++++++++++
 .travis.yml              | 30 ++++++++++++++++++++++++++++++
 PULL_REQUEST_TEMPLATE.md |  7 +++++--
 README.md                |  3 ++-
 SECURITY.md              |  1 +
 5 files changed, 79 insertions(+), 3 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..0ff567c
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,41 @@
+#
+#
+#   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.
+#
+#
+
+notifications:
+  commits:      [email protected]
+  issues:       [email protected]
+  pullrequests: [email protected]
+  jira_options: link label link label
+
+github:
+  homepage: https://dubbo.apache.org/
+  features:
+    # Enable wiki for documentation
+    wiki: true
+    # Enable issue management
+    issues: true
+    # Enable projects for project management boards
+    projects: true
+  protected_branches:
+    master:
+      # only disable force push
+      foo: bar
+    3.0:
+      # only disable force push
+      foo: bar
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..85c522e
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,30 @@
+sudo: false # faster builds
+os: linux
+dist: focal
+arch: arm64-graviton2
+virt: lxd
+group: edge
+
+language: java
+jdk: openjdk11
+
+cache:
+  directories:
+    - $HOME/.m2
+
+install: true
+
+branches:
+  only:
+    - '3.0'
+
+before_script:
+  - rm -rf $HOME/.m2/repository/org/glassfish/javax.el/3.0.1-b08
+
+script: if [[ "${TRAVIS_EVENT_TYPE}" == "cron" ]]; then travis_wait 60 ./mvnw 
--batch-mode -U -e --no-transfer-progress clean test 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 
-Dmaven.wagon.http.retryHandler.count=5 -DskipTests=false 
-DskipIntegrationTests=false -Dcheckstyle.skip=false -Drat.skip=false 
-Dmaven.javadoc.skip=true;  fi
+
+after_success:
+  - bash <(curl -s https://codecov.io/bash)
+
+after_failure:
+  - echo "build failed!"
diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md
index a1384f2..e924748 100644
--- a/PULL_REQUEST_TEMPLATE.md
+++ b/PULL_REQUEST_TEMPLATE.md
@@ -10,9 +10,12 @@
 
 <!-- Follow this checklist to help us incorporate your contribution quickly 
and easily: -->
 
+## Checklist
 - [x] Make sure there is a 
[GitHub_issue](https://github.com/apache/dubbo/issues) field for the change 
(usually before you start working on it). Trivial changes like typos do not 
require a GitHub issue. Your pull request should address just this issue, 
without pulling in other changes - one PR resolves one issue.
-- [ ] Format the pull request title like `[Dubbo-XXX] Fix UnknownException 
when host config not exist #XXX`. Each commit in the pull request should have a 
meaningful subject line and body.
+- [ ] Each commit in the pull request should have a meaningful subject line 
and body.
 - [ ] Write a pull request description that is detailed enough to understand 
what the pull request does, how, and why.
+- [ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
 - [ ] Write necessary unit-test to verify your logic correction, more mock a 
little better when cross module dependency exist. If the new feature or 
significant change is committed, please remember to add sample in [dubbo 
samples](https://github.com/apache/dubbo-samples) project.
-- [ ] Run `mvn clean install -DskipTests=false` & `mvn clean test-compile 
failsafe:integration-test` to make sure unit-test and integration-test pass.
+- [ ] Add some description to 
[dubbo-website](https://github.com/apache/dubbo-website) project if you are 
requesting to add a feature.
+- [ ] GitHub Actions works fine on your own branch.
 - [ ] If this contribution is large, please follow the [Software Donation 
Guide](https://github.com/apache/dubbo/wiki/Software-donation-guide).
diff --git a/README.md b/README.md
index d84a5ec..7265059 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
 # Apache Dubbo Project
 
+[![Build 
Status](https://github.com/apache/dubbo/workflows/Build%20and%20Test%20For%20Dubbo%203/badge.svg?branch=3.0)](https://github.com/apache/dubbo/actions/workflows/build-and-test-3.yml?query=branch%3A3.0)
 [![Build 
Status](https://travis-ci.com/apache/dubbo.svg?branch=master)](https://travis-ci.com/apache/dubbo)
 
[![Codecov](https://codecov.io/gh/apache/dubbo/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/dubbo)
 ![Maven](https://img.shields.io/maven-central/v/org.apache.dubbo/dubbo.svg)
@@ -42,7 +43,7 @@ There's a 
[README](https://github.com/apache/dubbo-samples/tree/master/dubbo-sam
 
 ```xml
 <properties>
-    <dubbo.version>2.7.8</dubbo.version>
+    <dubbo.version>3.0.0</dubbo.version>
 </properties>
 
 <dependencies>
diff --git a/SECURITY.md b/SECURITY.md
index b8b2a2c..981019e 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -6,6 +6,7 @@ Below is a table that shows versions that we accept security 
fixes.
 
 | Version | Supported          |
 | ------- | ------------------ |
+| 3.0.x   | :white_check_mark: |
 | 2.7.x   | :white_check_mark: |
 | 2.6.x   | :white_check_mark: |
 | 2.5.x   | :x: |

Reply via email to