This is an automated email from the ASF dual-hosted git repository.
zhoujieguang pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/dolphinscheduler-sdk-python.git
The following commit(s) were added to refs/heads/main by this push:
new ed62a37 [ci] Add mergeable and enable github issue (#10)
ed62a37 is described below
commit ed62a3706a0bd45e00886ee36a237cdabe1e88b3
Author: Jay Chung <[email protected]>
AuthorDate: Thu Nov 10 11:38:13 2022 +0800
[ci] Add mergeable and enable github issue (#10)
* [ci] Add mergeable and enable github issue
* Add ci badge
---
.asf.yaml | 2 ++
.github/mergeable.yml | 26 ++++++++++++++++++++++++++
README.md | 2 +-
3 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/.asf.yaml b/.asf.yaml
index 1bf4b34..5e4ede7 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -23,6 +23,8 @@ github:
- workflow
- python
- api
+ features:
+ issues: true
enabled_merge_buttons:
squash: true
merge: false
diff --git a/.github/mergeable.yml b/.github/mergeable.yml
new file mode 100644
index 0000000..73aeba5
--- /dev/null
+++ b/.github/mergeable.yml
@@ -0,0 +1,26 @@
+# 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.
+---
+version: 2
+mergeable:
+ - when: pull_request.*
+ name: label-check
+ validate:
+ - do: label
+ must_include:
+ regex: 'enhancement|bug|improvement|documentation|chore'
+ message: 'Label must include one of the following: `enhancement`,
`bug`, `improvement`, `documentation`, `chore`'
diff --git a/README.md b/README.md
index a311a86..2c4dec4 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ under the License.
[](https://github.com/psf/black)
[](https://pycqa.github.io/isort)
-[](https://github.com/apache/dolphinscheduler/actions?query=workflow%3A%22Python+API%22)
+[](https://github.com/apache/dolphinscheduler-sdk-python/actions/workflows/ci.yaml)
**PyDolphinScheduler** is python API for Apache DolphinScheduler, which allow
you definition
your workflow by python code, aka workflow-as-codes.