Extra logging of token

This commit is contained in:
Jack Jackson 2025-03-18 22:02:00 -07:00
parent da4de6d118
commit 600b135480
7 changed files with 5 additions and 3 deletions

3
dist/index.js vendored
View File

@ -25875,7 +25875,8 @@ async function 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 (0, main_1.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);
}
catch (error) {

Binary file not shown.

Binary file not shown.

Binary file not shown.

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