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>
This commit is contained in:
Fabio Baltieri 2023-08-25 13:49:27 +00:00 committed by Fabio Baltieri
commit 5e78660715

View file

@ -327,7 +327,7 @@ def main():
if args.pull_request: if args.pull_request:
process_pr(gh, maintainer_file, args.pull_request) process_pr(gh, maintainer_file, args.pull_request)
if args.issue: elif args.issue:
process_issue(gh, maintainer_file, args.issue) process_issue(gh, maintainer_file, args.issue)
elif args.modules: elif args.modules:
process_modules(gh, maintainer_file) process_modules(gh, maintainer_file)