mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 00:15:20 +00:00
workflow: 优化workflow
This commit is contained in:
16
.github/workflows/issue-comment.yml
vendored
16
.github/workflows/issue-comment.yml
vendored
@@ -20,3 +20,19 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
actions: 'remove-labels'
|
actions: 'remove-labels'
|
||||||
labels: '状态:待反馈'
|
labels: '状态:待反馈'
|
||||||
|
|
||||||
|
add-label-if-not-author:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.comment.pull_request.user.id != github.event.comment.user.id }} && ${{ !github.event.comment.pull_request.pull_request }}
|
||||||
|
steps:
|
||||||
|
- name: Add require replay label
|
||||||
|
uses: actions-cool/issues-helper@v2
|
||||||
|
with:
|
||||||
|
actions: 'add-labels'
|
||||||
|
labels: '状态:待反馈'
|
||||||
|
|
||||||
|
- name: Remove require handle label
|
||||||
|
uses: actions-cool/issues-helper@v2
|
||||||
|
with:
|
||||||
|
actions: 'remove-labels'
|
||||||
|
labels: '状态:待处理'
|
||||||
|
Reference in New Issue
Block a user