commit 755512ed60fe6c9b7fbd3bf57c827d938ff6d743
parent 4c23b834562f1d0587beef130c5e8ac434607358
Author: dundargoc <gocdundar@gmail.com>
Date: Fri, 13 Sep 2024 13:24:44 +0200
ci: don't add reviewers for PRs created by a bot
This will ensure automatic backports created by the backport action does
not request reviewers (since the commit in question has already been
vetted and merged), but manual backports created by users does request
reviewers as these commits has not been vetted previously.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/reviewers_add.yml b/.github/workflows/reviewers_add.yml
@@ -5,7 +5,7 @@ on:
workflow_call:
jobs:
request-reviewer:
- if: github.event.pull_request.state == 'open' && github.event.pull_request.draft == false
+ if: github.event.pull_request.state == 'open' && github.event.pull_request.draft == false && !endsWith(github.actor, '[bot]')
runs-on: ubuntu-latest
permissions:
pull-requests: write