mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-23 13:37:31 +00:00
chore: 添加判断 pull request
This commit is contained in:
parent
dbe628a8db
commit
8a31fbe35e
2
.github/workflows/issue-comment.yml
vendored
2
.github/workflows/issue-comment.yml
vendored
@ -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
|
||||
|
1
.github/workflows/issue-open.yml
vendored
1
.github/workflows/issue-open.yml
vendored
@ -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
Block a user