ci: fix pr-conflict action (#22730)

This commit is contained in:
btea
2025-11-11 11:04:57 +08:00
committed by GitHub
parent 4b57840dd2
commit cb6d77e6fe

View File

@@ -10,11 +10,8 @@ jobs:
steps:
- name: Check for specific label
if: contains(github.event.pull_request.labels.*.name, 'conflict pending')
uses: actions-cool/maintain-one-comment@v3.1.1
uses: actions-cool/maintain-one-comment@v3.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: |
@${{ github.event.pull_request.user.login }} This PR has conflicts, please resolve them.
<!-- ELEMENT_PLUS_CONFLICT_COMMENT -->
body-include: '<!-- ELEMENT_PLUS_CONFLICT_COMMENT -->'
number: ${{ github.event.pull_request.number }}