From c3e5cc52e568f5f2759061fbbbc88cf6d62ef32b Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Thu, 5 Feb 2026 11:55:12 +0000 Subject: [PATCH] Templating - hardcode current user for testing purposes. --- templates/_templating_scripting.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/_templating_scripting.py b/templates/_templating_scripting.py index 1d3bf35..4f6df10 100755 --- a/templates/_templating_scripting.py +++ b/templates/_templating_scripting.py @@ -227,7 +227,8 @@ def prompt_share(args: argparse.Namespace) -> None: # Can use a URL here for local debugging: # pr_number = "https://github.com/SciTools/iris/pull/6901" - current_user = gh_json("api user")["login"] + # current_user = gh_json("api user")["login"] + current_user = "scitools-ci" # Temporary testing patch. body = gh_json(f"pr view {pr_number}", "body")["body"] if MAGIC_NO_PROMPT.search(body):