Revert "set GIT_AUTH_TOKEN secret if Git context used"

This reverts commit 932b78563b.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-01-14 14:38:19 +01:00
parent 4e1bb14d4e
commit 8342e4814b
3 changed files with 1 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ actionsToolkit.run(
stateHelper.setInputs(inputs);
const toolkit = new Toolkit();
const gitAuthToken = context.getGitAuthToken(inputs);
const gitAuthToken = process.env.BUILDX_BAKE_GIT_AUTH_TOKEN ?? inputs['github-token'];
await core.group(`GitHub Actions runtime token ACs`, async () => {
try {