Skip to content

Commit

Permalink
[actions] Skip the label checker for pull requests from 'dotnet-maest…
Browse files Browse the repository at this point in the history
…ro'. (#12823)
  • Loading branch information
rolfbjarne authored Sep 23, 2021
1 parent 5318a2b commit 8ba7ff3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/label-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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, ',') != ''

0 comments on commit 8ba7ff3

Please sign in to comment.