diff --git a/.github/workflows/add-assignees.yml b/.github/workflows/add-assignees.yml index 97435eafc4..ddf5bae99d 100644 --- a/.github/workflows/add-assignees.yml +++ b/.github/workflows/add-assignees.yml @@ -1,3 +1,18 @@ +# 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: Assign Problem To Developer on: diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index d830cac8c8..4630e40094 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -1,3 +1,18 @@ +# 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: Code Review Robot permissions: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 44428eb63d..83b5e3d804 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: "Build documentation" +name: Build documentation on: schedule: - cron: '0 0 * * *' # Deploy every day diff --git a/.github/workflows/format_code.yaml b/.github/workflows/format_code.yaml index bc701ca60a..4a0f78bcd5 100644 --- a/.github/workflows/format_code.yaml +++ b/.github/workflows/format_code.yaml @@ -1,3 +1,17 @@ +# 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: Format Code in fork repo diff --git a/.github/workflows/issue-check-inactive.yml b/.github/workflows/issue-check-inactive.yml index 269518e3c0..f05d5bcc9b 100644 --- a/.github/workflows/issue-check-inactive.yml +++ b/.github/workflows/issue-check-inactive.yml @@ -1,3 +1,18 @@ +# 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: Issue Check Inactive # 定时触发:每月 1 号 UTC 0 点,即北京时间 8 点 @@ -18,7 +33,7 @@ jobs: # 为 30 天不活跃的 issues 增加 inactive label,更多参数请参考:https://github.com/actions-cool/issues-helper # Add the inactive label to all issues that have not been active for more than 30 days. More see: https://github.com/actions-cool/issues-helper inactive-day: 30 - inactive-label: 'inactive' + inactive-label: 'Invalid' body: | Hello, this issue has not been active for more than 30 days. This issue will be closed in 7 days if there is no response. If you have any questions, you can comment and reply. diff --git a/.github/workflows/issue-close-require.yml b/.github/workflows/issue-close-require.yml index 59ce1fbe39..f119caea47 100644 --- a/.github/workflows/issue-close-require.yml +++ b/.github/workflows/issue-close-require.yml @@ -1,3 +1,18 @@ +# 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: Issue Close Require on: @@ -24,9 +39,9 @@ jobs: labels: 'Need Reproduce' inactive-day: 10 body: | - Hi, Because this issue was marked as requiring detailed reproduction steps, no response was received for 10 days. The issue is now closed. If you have any questions, please comment and reply. + Hi @${{ github.event.issue.user.login }}, Because this issue was marked as requiring detailed reproduction steps, no response was received for 10 days. The issue is now closed. If you have any questions, please comment and reply. - Hi, 由于该 issue 被标记为需要提供详细复现步骤,却 10 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 + Hi @${{ github.event.issue.user.login }}, 由于该 issue 被标记为需要提供详细复现步骤,却 10 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 - name: duplicate issue uses: actions-cool/issues-helper@v3 @@ -38,9 +53,9 @@ jobs: labels: 'Duplicate' inactive-day: 3 body: | - Hi, Since this issue was marked as a duplicate issue, no response was received for 3 days. The issue is now closed. If you have any questions, please comment and reply + Hi @${{ github.event.issue.user.login }}, Since this issue was marked as a duplicate issue, no response was received for 3 days. The issue is now closed. If you have any questions, please comment and reply - Hi, 由于该 issue 被标记为重复问题,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 + Hi @${{ github.event.issue.user.login }}, 由于该 issue 被标记为重复问题,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 - name: Fixed issue uses: actions-cool/issues-helper@v3 @@ -52,9 +67,9 @@ jobs: labels: 'Fixed' inactive-day: 2 body: | - Hi, Since this issue was marked as fixed, no response has been received for 2 days. The issue is now closed. If you have any questions, please comment and reply. + Hi @${{ github.event.issue.user.login }}, Since this issue was marked as fixed, no response has been received for 2 days. The issue is now closed. If you have any questions, please comment and reply. - Hi, 由于该 issue 被标记为已修复,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 + Hi @${{ github.event.issue.user.login }}, 由于该 issue 被标记为已修复,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 - name: More Information Required @@ -67,6 +82,6 @@ jobs: labels: 'More Information Required' inactive-day: 7 body: | - Hi, Since this issue was marked as requiring more information, no response was received for 7 days. The issue is now closed. If you have any questions, please comment and reply. + Hi @${{ github.event.issue.user.login }}, Since this issue was marked as requiring more information, no response was received for 7 days. The issue is now closed. If you have any questions, please comment and reply. - Hi, 由于该 issue 被标记为需要更多信息,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 + Hi @${{ github.event.issue.user.login }}, 由于该 issue 被标记为需要更多信息,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 diff --git a/.github/workflows/issue-reply.yml b/.github/workflows/issue-reply.yml index 22176fbefe..fe89a9e208 100644 --- a/.github/workflows/issue-reply.yml +++ b/.github/workflows/issue-reply.yml @@ -1,3 +1,18 @@ +# 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: Issue Reply Check on: @@ -15,9 +30,9 @@ jobs: actions: 'create-comment' issue-number: ${{ github.event.issue.number }} body: | - Hello , we need you to provide reproduction steps so that we can help you troubleshoot the problem. Issues are marked \`Need Reproduce\`. + Hello @${{ github.event.issue.user.login }}, we need you to provide reproduction steps so that we can help you troubleshoot the problem. Issues are marked \`Need Reproduce\`. - 你好 , 我们需要你提供复现步骤以便于我们帮你排查问题,Issues 标注为 \`Need Reproduce\` 。 + 你好 @${{ github.event.issue.user.login }}, 我们需要你提供复现步骤以便于我们帮你排查问题,Issues 标注为 \`Need Reproduce\` 。 - name: Action Duplicate Issue if: github.event.label.name == 'Duplicate' @@ -26,9 +41,9 @@ jobs: actions: 'create-comment' issue-number: ${{ github.event.issue.number }} body: | - Hello , thank you for your feedback, but this issue has been reported before. You can search for keywords in the Issue list to view it. Issues are marked as \`Duplicate\`. + Hello @${{ github.event.issue.user.login }}, thank you for your feedback, but this issue has been reported before. You can search for keywords in the Issue list to view it. Issues are marked as \`Duplicate\`. - 你好 , 感谢你的反馈, 但是此问题已经被反馈过了,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 \`Duplicate\` 。 + 你好 @${{ github.event.issue.user.login }}, 感谢你的反馈, 但是此问题已经被反馈过了,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 \`Duplicate\` 。 - name: Action Fixed Issue if: github.event.label.name == 'Fixed' @@ -37,9 +52,9 @@ jobs: actions: 'create-comment' issue-number: ${{ github.event.issue.number }} body: | - Hello , thank you for your feedback, but this issue has been fixed. You can search for keywords in the Issue list to view it. Issues are marked as \`Fixed\`. + Hello @${{ github.event.issue.user.login }}, thank you for your feedback, but this issue has been fixed. You can search for keywords in the Issue list to view it. Issues are marked as \`Fixed\`. - 你好 , 感谢你的反馈, 但是此问题已经被修复了,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 \`Fixed\` 。 + 你好 @${{ github.event.issue.user.login }}, 感谢你的反馈, 但是此问题已经被修复了,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 \`Fixed\` 。 - name: Action Supported Issue if: github.event.label.name == 'Supported' @@ -48,9 +63,9 @@ jobs: actions: 'create-comment' issue-number: ${{ github.event.issue.number }} body: | - Hello , thank you for your suggestion, but this function has been implemented. You can search for keywords in the Issue list to view it. Issues are marked \`Supported\` + Hello @${{ github.event.issue.user.login }}, thank you for your suggestion, but this function has been implemented. You can search for keywords in the Issue list to view it. Issues are marked \`Supported\` - 你好 , 感谢你的建议, 但是此功能已经实现了,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 \`Supported\` 。 + 你好 @${{ github.event.issue.user.login }}, 感谢你的建议, 但是此功能已经实现了,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 \`Supported\` 。 - name: Action Wont Fix Issue if: github.event.label.name == 'Wont Fix' @@ -59,6 +74,6 @@ jobs: actions: 'create-comment' issue-number: ${{ github.event.issue.number }} body: | - Hello , thank you for your feedback, but this issue will not be fixed. You can search for keywords in the Issue list to view it. Issues are marked \`Wont Fix\` + Hello @${{ github.event.issue.user.login }}, thank you for your feedback, but this issue will not be fixed. You can search for keywords in the Issue list to view it. Issues are marked \`Wont Fix\` - 你好 , 感谢你的反馈, 但是此问题不会被修复,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 \`Wont Fix\` 。 \ No newline at end of file + 你好 @${{ github.event.issue.user.login }}, 感谢你的反馈, 但是此问题不会被修复,你可以在 Issue 列表中搜索关键字来查看, Issues 标注为 \`Wont Fix\` 。 \ No newline at end of file