Don't assign reviewers for PRs not to main branch (#7063)

We don't have the same review requirements for other branches.
This commit is contained in:
Alexander Kuzmenkov 2024-06-25 17:04:21 +02:00 committed by GitHub
parent 4e6e8e7e29
commit 64af307eb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ jobs:
ask-review:
name: Run pull-review
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
if: ${{ !github.event.pull_request.draft && github.event.pull_request.base.ref == 'main' }}
steps:
- uses: actions/checkout@v4
- name: Run pull-review with docker