Files
element-plus/.github/workflows/pr-comment.yml
btea 4b57840dd2 ci: pr comment action update condition (#22744)
* 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>
2025-11-10 14:41:55 +08:00

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: