From 64af307eb912617618e9e0c3dc7f1ee756f00a34 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com> Date: Tue, 25 Jun 2024 17:04:21 +0200 Subject: [PATCH] Don't assign reviewers for PRs not to main branch (#7063) We don't have the same review requirements for other branches. --- .github/workflows/pr-handling.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-handling.yaml b/.github/workflows/pr-handling.yaml index fbeab3d70..657563478 100644 --- a/.github/workflows/pr-handling.yaml +++ b/.github/workflows/pr-handling.yaml @@ -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