Skip to content

Commit

Permalink
{CI} Add auto reply for pull request (Azure#6142)
Browse files Browse the repository at this point in the history
* Update AddPRComment.yml

* Update AddPRComment.yml
  • Loading branch information
wangzelin007 authored Mar 29, 2023
1 parent 9ff2f69 commit ff303d1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/AddPRComment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on:
pull_request:
pull_request_target:
types: [opened]

permissions:
Expand All @@ -18,10 +18,7 @@ jobs:
echo "message=$(echo 'Thank you for your contribution! We will review the pull request and get back to you soon.')" >> $GITHUB_ENV
fi
- name: comment on the pull request
uses: hasura/comment-progress@v2.2.0
uses: mshick/add-pr-comment@v2
with:
github-token: ${{ secrets.CLI_BOT }}
repository: 'Azure/azure-cli-extensions'
number: ${{ github.event.number }}
id: thank-you-comment
repo-token: ${{ secrets.CLI_BOT }}
message: "${{ env.message }}"

0 comments on commit ff303d1

Please sign in to comment.