Browse Source

git actions add submodule (#5280)

* Add issue robot automatic reply and Translation

* add license

* git actions add submodule


Co-authored-by: chenxingchun <438044805@qq.com>
pull/3/MERGE
xingchun-chen 3 years ago committed by GitHub
parent
commit
029d3eb814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .github/actions/comment-on-issue
  2. 1
      .github/actions/lable-on-issue
  3. 1
      .github/actions/translation-on-issue
  4. 30
      .github/workflows/issue_robot.yml
  5. 26
      .gitmodules

1
.github/actions/comment-on-issue

@ -0,0 +1 @@
Subproject commit 966bbbd2113de1f8008322fd1cc7674981a6b1ab

1
.github/actions/lable-on-issue

@ -0,0 +1 @@
Subproject commit 978f846c4ca6299fd136f465b42c5e87aca28cac

1
.github/actions/translation-on-issue

@ -0,0 +1 @@
Subproject commit 4b5062133773227695d089319f0374ff0868c9fb

30
.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

26
.gitmodules vendored

@ -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
Loading…
Cancel
Save