aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-09-13 13:24:44 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-09-13 16:58:15 +0200
commit755512ed60fe6c9b7fbd3bf57c827d938ff6d743 (patch)
treed312b755b9668e6735abb4bdb84b27d1763a2eff
parent4c23b834562f1d0587beef130c5e8ac434607358 (diff)
downloadrneovim-755512ed60fe6c9b7fbd3bf57c827d938ff6d743.tar.gz
rneovim-755512ed60fe6c9b7fbd3bf57c827d938ff6d743.tar.bz2
rneovim-755512ed60fe6c9b7fbd3bf57c827d938ff6d743.zip
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.
-rw-r--r--.github/workflows/reviewers_add.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/reviewers_add.yml b/.github/workflows/reviewers_add.yml
index b116bca29b..90b473c754 100644
--- 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