Skip to content

Commit

Permalink
[Chore](Workflow)Fix auto-reply not work
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Dec 15, 2023
1 parent 2018ab2 commit 8eb8b3f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 19 deletions.
1 change: 0 additions & 1 deletion .github/actions/create-or-update-comment
Submodule create-or-update-comment deleted from 23ff15
26 changes: 11 additions & 15 deletions .github/workflows/auto-pr-reply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,17 @@ name: Auto Reply to PR
on:
pull_request:
types: [opened]

jobs:
comment:
pr_commented:
# This job only runs for pull request comments
name: PR comment
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- 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)
- run: |
echo Thank you for your contribution to Apache Doris.
echo 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)
env:
NUMBER: ${{ github.event.issue.number }}
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,3 @@
path = be/src/clucene
url = https://github.com/apache/doris-thirdparty.git
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.git

0 comments on commit 8eb8b3f

Please sign in to comment.