You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/05/27 03:49:45 UTC
[dolphinscheduler-mlflow] 01/01: [ci] Add CI about license and asf.yaml
This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch f-infra-add
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-mlflow.git
commit caf408ddc1f200031cbaa01c5f249bf22fd7b040
Author: Jiajie Zhong <zh...@gmail.com>
AuthorDate: Fri May 27 11:49:34 2022 +0800
[ci] Add CI about license and asf.yaml
---
.asf.yaml | 24 ++++++++++++++++++++++++
.github/workflows/license.yaml | 39 +++++++++++++++++++++++++++++++++++++++
.licenserc.yaml | 27 +++++++++++++++++++++++++++
NOTICE | 2 ++
README.md | 2 ++
5 files changed, 94 insertions(+)
diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..5616f46
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,24 @@
+github:
+ description: MLFlow examples for Apache Dolphinscheduler
+ homepage: https://dolphinscheduler.apache.org/
+ labels:
+ - dolphinscheduler
+ - MLops
+ enabled_merge_buttons:
+ squash: true
+ merge: false
+ rebase: false
+ protected_branches:
+ main:
+ required_status_checks:
+ strict: true
+ required_pull_request_reviews:
+ dismiss_stale_reviews: true
+ required_approving_review_count: 1
+
+notifications:
+ commits: commits@dolphinscheduler.apache.org
+ issues: commits@dolphinscheduler.apache.org
+ pullrequests: commits@dolphinscheduler.apache.org
+ pullrequests_status: commits@dolphinscheduler.apache.org
+ pullrequests_comment: commits@dolphinscheduler.apache.org
\ No newline at end of file
diff --git a/.github/workflows/license.yaml b/.github/workflows/license.yaml
new file mode 100644
index 0000000..3f07b27
--- /dev/null
+++ b/.github/workflows/license.yaml
@@ -0,0 +1,39 @@
+#
+# 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.
+#
+
+name: License
+
+on:
+ push:
+ pull_request:
+ branches:
+ - main
+ paths-ignore:
+ - '**/*.md'
+
+concurrency:
+ group: lc-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ check-license:
+ runs-on: ubuntu-latest
+ timeout-minutes: 30
+ steps:
+ - uses: actions/checkout@v2
+ - name: Check License Header
+ uses: apache/skywalking-eyes@main
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 0000000..0e29936
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,27 @@
+# Licensed to 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. Apache Software Foundation (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.
+
+header:
+ license:
+ spdx-id: Apache-2.0
+ copyright-owner: Apache Software Foundation
+
+ paths-ignore:
+ - NOTICE
+ - LICENSE
+
+ comment: on-failure
\ No newline at end of file
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..4730fea
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,2 @@
+Apache DolphinScheduler
+Copyright 2019-2022 The Apache Software Foundation
diff --git a/README.md b/README.md
index 5d762b0..5431254 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,3 @@
# dolphinscheduler-mlflow
+
+MLFlow examples for Apache Dolphinscheduler