mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
ci: auto remove conflict pending label (#22870)
This commit is contained in:
16
.github/workflows/pr-conflict.yml
vendored
16
.github/workflows/pr-conflict.yml
vendored
@@ -22,5 +22,19 @@ jobs:
|
||||
body: |
|
||||
@${{ github.event.pull_request.user.login }} This PR has conflicts, please resolve them.
|
||||
<!-- ELEMENT_PLUS_CONFLICT_COMMENT -->
|
||||
body-include: '<!-- ELEMENT_PLUS_CONFLICT_COMMENT -->'
|
||||
body-include: "<!-- ELEMENT_PLUS_CONFLICT_COMMENT -->"
|
||||
number: ${{ github.event.pull_request.number }}
|
||||
|
||||
remove-label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check mergeable state
|
||||
run: "mergeable_state: ${{ github.event.pull_request.mergeable_state }}"
|
||||
- name: Remove conflict pending label
|
||||
if: |
|
||||
github.repository_owner == 'element-plus' &&
|
||||
github.event.pull_request.mergeable_state == true
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: "remove-labels"
|
||||
labels: "conflict pending"
|
||||
|
||||
Reference in New Issue
Block a user