Skip to content

Commit d0f39c5

Browse files
chore: debugging
1 parent db7012b commit d0f39c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jobs/commitChangesToGit.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ Includes transpiled JS/TS${core.getInput('build_typings_script') !== '' ? ', and
6666

6767
debugLog(`** Pushing commit`);
6868

69-
await git.addRemote('upstream', `https://github-actions:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git`);
69+
const token = core.getInput('github_token', { required: true, trimWhitespace: true });
70+
71+
await git.addRemote('upstream', `https://github-actions:${token}@github.com/${process.env.GITHUB_REPOSITORY}.git`);
7072

7173
log(`${status}`);
7274

0 commit comments

Comments
 (0)