diff --git a/.github/workflows/label-checker.yml b/.github/workflows/label-checker.yml index 97a17f49e15e..7747a7416568 100644 --- a/.github/workflows/label-checker.yml +++ b/.github/workflows/label-checker.yml @@ -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, ',') != ''