From 5e78660715bb0fe700913ab23b38e6126e8bae49 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Fri, 25 Aug 2023 13:49:27 +0000 Subject: [PATCH] ci: assigner: fix the main operation selector check Fix an "if" that should have been an "elif". This is currently causing the script to fallback into the "do all unassigned PRs of the day" path when a PR is specified. Signed-off-by: Fabio Baltieri --- scripts/set_assignees.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/set_assignees.py b/scripts/set_assignees.py index c516733bc88..2a4575eb3c4 100755 --- a/scripts/set_assignees.py +++ b/scripts/set_assignees.py @@ -327,7 +327,7 @@ def main(): if args.pull_request: process_pr(gh, maintainer_file, args.pull_request) - if args.issue: + elif args.issue: process_issue(gh, maintainer_file, args.issue) elif args.modules: process_modules(gh, maintainer_file)