build: 修改issues处理action中的条件判断表达式
This commit is contained in:
parent
30e24896e5
commit
fe4a11618d
|
@ -7,7 +7,7 @@ name: Add issues workflow labels
|
||||||
jobs:
|
jobs:
|
||||||
add-label-if-is-author:
|
add-label-if-is-author:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.issue.user.id == github.event.comment.user.id }} && ${{ !github.event.issue.pull_request }}
|
if: ${{ (github.event.issue.user.id == github.event.comment.user.id) && (!github.event.issue.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
|
||||||
|
@ -23,7 +23,7 @@ jobs:
|
||||||
|
|
||||||
add-label-if-not-author:
|
add-label-if-not-author:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.issue.user.id != github.event.comment.user.id }} && ${{ !github.event.issue.pull_request }} && ${{ github.event.issue.state == 'open' }}
|
if: ${{ (github.event.issue.user.id != github.event.comment.user.id) && (!github.event.issue.pull_request) && (github.event.issue.state == 'open') }}
|
||||||
steps:
|
steps:
|
||||||
- name: Add require replay label
|
- name: Add require replay label
|
||||||
uses: actions-cool/issues-helper@v2
|
uses: actions-cool/issues-helper@v2
|
||||||
|
|
|
@ -10,7 +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 }}
|
if: ${{ !github.event.issue.pull_request }}
|
||||||
with:
|
with:
|
||||||
actions: 'add-labels'
|
actions: 'add-labels'
|
||||||
labels: '状态:待处理'
|
labels: '状态:待处理'
|
Loading…
Reference in New Issue