fix push-to-action: use CLI direct invocation for token acquisition

the inline `node -e` + `TOKEN=$(...)` approach broke because
`core.getIDToken()` in @actions/core writes `::debug::` and
`::add-mask::` to stdout, polluting the captured value.

`node cli.ts gha token` uses `core.setOutput()` which writes to
the $GITHUB_OUTPUT file instead of stdout.

Made-with: Cursor
This commit is contained in:
Colin McDonnell
2026-04-12 00:47:41 +00:00
committed by pullfrog[bot]
parent 61bbfb932e
commit 421607cf97
21 changed files with 4292 additions and 3217 deletions
+2 -1
View File
@@ -20,5 +20,6 @@
"stripInternal": true,
"moduleDetection": "force",
"useUnknownInCatchVariables": true
}
},
"exclude": []
}