workflow: 优化workflow

pull/7335/head
ibuler 2021-12-07 10:38:47 +08:00 committed by 老广
parent 3c8726f1b0
commit e0d4ad8570
1 changed files with 16 additions and 0 deletions

View File

@ -20,3 +20,19 @@ jobs:
with:
actions: 'remove-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: '状态:待处理'