mirror of https://github.com/jumpserver/jumpserver
chore: 添加判断 pull request
parent
dbe628a8db
commit
8a31fbe35e
|
@ -5,7 +5,7 @@ on:
|
|||
jobs:
|
||||
add-label-if-is-author:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.comment.pull_request.user.id == github.event.comment.user.id }}
|
||||
if: ${{ github.event.comment.pull_request.user.id == github.event.comment.user.id }} && ${{ !github.event.comment.pull_request.pull_request }}
|
||||
steps:
|
||||
- name: Add require handle label
|
||||
uses: actions-cool/issues-helper@v2
|
||||
|
|
|
@ -10,6 +10,7 @@ jobs:
|
|||
steps:
|
||||
- name: Add labels
|
||||
uses: actions-cool/issues-helper@v2
|
||||
if: ${{ !github.event.comment.pull_request.pull_request }}
|
||||
with:
|
||||
actions: 'add-labels'
|
||||
labels: '状态:待处理'
|
Loading…
Reference in New Issue