Respect dry run for token remote update

This commit is contained in:
mpabi
2026-04-26 21:13:13 +02:00
parent 1a66e161aa
commit 7e62be4ca1
2 changed files with 9 additions and 2 deletions
+3
View File
@@ -1460,6 +1460,9 @@ def run_tokens_write(config: WorkspaceConfig, args: argparse.Namespace) -> None:
def run_tokens_update(config: WorkspaceConfig, args: argparse.Namespace) -> None:
if args.from_source == "remotes":
if args.dry_run:
run_tokens_scan(config, args)
return
repo_path = resolve_repo_argument(args.repo)
report = sync_tokens_from_repo(config, repo_path)
repo_root, repo_servers = collect_repo_server_entries(config, repo_path)