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 <fabiobaltieri@google.com>
diff --git a/scripts/set_assignees.py b/scripts/set_assignees.py
index c516733..2a4575e 100755
--- a/scripts/set_assignees.py
+++ b/scripts/set_assignees.py
@@ -327,7 +327,7 @@
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)