[Actions] Add the user to all branches. Remove monojenkins. (#10368)
This commit is contained in:
Родитель
1c34588487
Коммит
031e14f1a3
|
@ -17,14 +17,14 @@ jobs:
|
|||
- run: exit 0
|
||||
name: 'Monojenkins PR'
|
||||
# always happy if monojenkins
|
||||
if: github.actor == 'monojenkins' || github.actor == 'vs-mobiletools-engineering-service2'
|
||||
if: github.actor == 'vs-mobiletools-engineering-service2'
|
||||
|
||||
- run: exit 1
|
||||
name: 'User PR with no labels'
|
||||
# failure if not monojenkins and no labels
|
||||
if: github.actor != 'monojenkins' && join(github.event.pull_request.labels, ',') == ''
|
||||
if: github.actor != 'vs-mobiletools-engineering-service2' && join(github.event.pull_request.labels, ',') == ''
|
||||
|
||||
- run: exit 0
|
||||
name: 'User PR with labels'
|
||||
# success if not monojenkins but labels
|
||||
if: github.actor != 'monojenkins' && join(github.event.pull_request.labels, ',') != ''
|
||||
if: github.actor != 'vs-mobiletools-engineering-service2' && join(github.event.pull_request.labels, ',') != ''
|
||||
|
|
Загрузка…
Ссылка в новой задаче