diff --git a/.github/actions/comment-on-issue b/.github/actions/comment-on-issue new file mode 160000 index 0000000000000000000000000000000000000000..966bbbd2113de1f8008322fd1cc7674981a6b1ab --- /dev/null +++ b/.github/actions/comment-on-issue @@ -0,0 +1 @@ +Subproject commit 966bbbd2113de1f8008322fd1cc7674981a6b1ab diff --git a/.github/actions/lable-on-issue b/.github/actions/lable-on-issue new file mode 160000 index 0000000000000000000000000000000000000000..978f846c4ca6299fd136f465b42c5e87aca28cac --- /dev/null +++ b/.github/actions/lable-on-issue @@ -0,0 +1 @@ +Subproject commit 978f846c4ca6299fd136f465b42c5e87aca28cac diff --git a/.github/actions/translation-on-issue b/.github/actions/translation-on-issue new file mode 160000 index 0000000000000000000000000000000000000000..4b5062133773227695d089319f0374ff0868c9fb --- /dev/null +++ b/.github/actions/translation-on-issue @@ -0,0 +1 @@ +Subproject commit 4b5062133773227695d089319f0374ff0868c9fb diff --git a/.github/workflows/issue_robot.yml b/.github/workflows/issue_robot.yml index cf940c15b5393a17bdf6a3d7777b05a0b9eb9910..0de698bae636761e6d48b5a840110e6f41c6a842 100644 --- a/.github/workflows/issue_robot.yml +++ b/.github/workflows/issue_robot.yml @@ -22,24 +22,26 @@ on: types: [opened] jobs: - comment: + issueRobot: runs-on: ubuntu-latest steps: - - uses: ben-z/actions-comment-on-issue@1.0.2 - with: - message: "Hi:\n* Thank you for your feedback, we have received your issue, Please wait patiently for a reply.\n* In order to let us know your request as soon as possible, please provide detailed information、version or pictures.\n* If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/zh-cn/community/development/subscribe.html ,then send questions to dev@dolphinscheduler.apache.org." - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: "Checkout ${{ github.ref }}" + uses: actions/checkout@v2 + with: + persist-credentials: false + submodules: true - autoTranslate: - runs-on: ubuntu-latest - steps: - - uses: actions-cool/translation-helper@v1.1.1 + - name: "Translation into English in issue" + uses: ./.github/actions/translation-on-issue - automate-issues-labels: - runs-on: ubuntu-latest - steps: - - name: initial labeling - uses: andymckay/labeler@master + - name: "Comment in issue" + uses: ./.github/actions/comment-on-issue + with: + message: "Hi:\n* Thank you for your feedback, we have received your issue, Please wait patiently for a reply.\n* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.\n* If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/zh-cn/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org." + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: "Add lable in issue" + uses: ./.github/actions/lable-on-issue with: add-labels: "Waiting for reply" ignore-if-labeled: true diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000000000000000000000000000000000..6a7832aa8a7f06099b37391c4dae7d65d9b65328 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,26 @@ +# 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. + +[submodule ".github/actions/comment-on-issue"] + path = .github/actions/comment-on-issue + url = https://github.com/xingchun-chen/actions-comment-on-issue +[submodule ".github/actions/lable-on-issue"] + path = .github/actions/lable-on-issue + url = https://github.com/xingchun-chen/labeler +[submodule ".github/actions/translation-on-issue"] + path = .github/actions/translation-on-issue + url = https://github.com/xingchun-chen/translation-helper