imbajin commented on code in PR #704: URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/704#discussion_r2704460587
########## .github/workflows/auto-pr-review.yml: ########## @@ -0,0 +1,35 @@ +# 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: "Auto PR Commenter" + +on: + pull_request_target: + types: [opened] + +jobs: + add-review-comment: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - name: Add review comment + uses: peter-evans/create-or-update-comment@v4 + with: + issue-number: ${{ github.event.pull_request.number }} + body: | Review Comment: 🧹 **Minor - GitHub workflow 文件不应在此 PR 中** 新增的 `.github/workflows/auto-pr-review.yml` 文件与 PR 主题(Loader 参数调整和失败处理重构)无关。 **建议:** 1. 将此工作流文件移到单独的 PR 2. 保持此 PR 专注于 Loader 功能改进 3. 便于代码审查和版本回溯 这样做的好处: - PR 职责单一,易于理解和审查 - 功能回滚时不会影响无关配置 - 符合单一职责原则 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
