Extra logging of token

This commit is contained in:
Jack Jackson 2025-03-18 22:02:00 -07:00
parent da4de6d118
commit 4b2cb74882

View File

@ -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);