mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* ci: pr comment action update condition * Update .github/workflows/pr-comment.yml Co-authored-by: rzzf <cszhjh@gmail.com> --------- Co-authored-by: rzzf <cszhjh@gmail.com>
21 lines
534 B
YAML
21 lines
534 B
YAML
name: Thanks to the PR Contributor
|
|
on:
|
|
pull_request:
|
|
types: [closed]
|
|
jobs:
|
|
comment:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
if: |
|
|
github.event.pull_request.merged == true &&
|
|
github.repository_owner == 'element-plus'
|
|
|
|
steps:
|
|
- name: Comment on PR
|
|
uses: actions-cool/maintain-one-comment@v3
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
body: |
|
|
@${{ github.event.pull_request.user.login }} Thanks for your contribution! :heart:
|