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