From 4b2cb74882b9ba0577dcd5bc661ec89d0f60bb96 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Tue, 18 Mar 2025 22:02:00 -0700 Subject: [PATCH] Extra logging of token --- src/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 0388963..a7dd7d2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,9 +30,10 @@ async function run() { // `YES`, `1`, etc. or indeed if it can even be `required`), and I want to default to `dry_run` the first time I run // this to avoid accidentally triggering a ton of commits before I get a chance to observe output. const dry_run = !(dry_run_inp == 'false'); - + const token_for_target_repo = core.getInput('token_for_target_repo'); - // Obviously, don't log this! + // Obviously, don't log the entire thing! + console.log(`First few characters of token are ${token_for_target_repo.slice(0, 6)}`) await main({domain:source_domain, owner:source_owner, name:source_name}, {domain:target_domain, owner:target_owner, name:target_name}, dry_run, token_for_target_repo);