[actions] Skip the label checker for pull requests from 'dotnet-maestro'. (#12823)
This commit is contained in:
Родитель
5318a2b9fa
Коммит
8ba7ff3324
|
@ -17,14 +17,14 @@ jobs:
|
|||
- run: exit 0
|
||||
name: 'Monojenkins PR'
|
||||
# always happy if monojenkins
|
||||
if: github.actor == 'vs-mobiletools-engineering-service2' || github.actor == 'github-actions[bot]'
|
||||
if: github.actor == 'vs-mobiletools-engineering-service2' || github.actor == 'github-actions[bot] || github.actor == 'dotnet-maestro'
|
||||
|
||||
- run: exit 1
|
||||
name: 'User PR with no labels'
|
||||
# failure if not monojenkins and no labels
|
||||
if: github.actor != 'vs-mobiletools-engineering-service2' && join(github.event.pull_request.labels, ',') == ''
|
||||
# failure if not monojenkins and not dotnet-maestro and no labels
|
||||
if: github.actor != 'vs-mobiletools-engineering-service2' && github.actor != 'dotnet-maestro' && join(github.event.pull_request.labels, ',') == ''
|
||||
|
||||
- run: exit 0
|
||||
name: 'User PR with labels'
|
||||
# success if not monojenkins but labels
|
||||
if: github.actor != 'vs-mobiletools-engineering-service2' && join(github.event.pull_request.labels, ',') != ''
|
||||
if: github.actor != 'vs-mobiletools-engineering-service2' && github.actor != 'dotnet-maestro' && join(github.event.pull_request.labels, ',') != ''
|
||||
|
|
Загрузка…
Ссылка в новой задаче