From 0956b8dcdbf85b560f8d75cfc27b782bc623622c Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Wed, 22 Nov 2023 14:54:09 +0800 Subject: [PATCH] [Chore](workflow)Fix Pr comment not worker --- .github/workflows/auto-pr-reply.yml | 38 +++++++++++++++++++++++------ .gitmodules | 2 +- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/.github/workflows/auto-pr-reply.yml b/.github/workflows/auto-pr-reply.yml index 3f1ce4d1152eda..b4c15061f2efaf 100644 --- a/.github/workflows/auto-pr-reply.yml +++ b/.github/workflows/auto-pr-reply.yml @@ -1,3 +1,20 @@ +# 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 Reply to PR on: @@ -8,11 +25,16 @@ jobs: comment: runs-on: ubuntu-latest steps: - - name: Comment on PR - uses: ./.github/actions/create-or-update-comment - with: - issue-number: ${{ github.event.pull_request.number }} - body: | - Thank you for your contribution to Apache Doris. - - Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR) + - name: Checkout + uses: actions/checkout@v3 + with: + persist-credentials: false + submodules: recursive + - name: Comment on PR + uses: ./.github/actions/create-or-update-comment + with: + issue-number: ${{ github.event.pull_request.number }} + body: | + Thank you for your contribution to Apache Doris. + + Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR) diff --git a/.gitmodules b/.gitmodules index a7439139147495..f092e8b8e5cff3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -26,4 +26,4 @@ branch = clucene [submodule ".github/actions/create-or-update-comment"] path = .github/actions/create-or-update-comment - url = https://github.com/peter-evans/create-or-update-comment + url = https://github.com/peter-evans/create-or-update-comment.git