From 067ea1df3852fb90b9429f67af4744431cf554fb Mon Sep 17 00:00:00 2001 From: Koen Van Looveren Date: Thu, 30 Nov 2023 10:05:22 +0100 Subject: [PATCH] fix: set the oauth2 app for remotegitrepourl --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 707c930..261f2c0 100644 --- a/index.js +++ b/index.js @@ -86,7 +86,7 @@ async function run() { await runInWorkspace('git', ['tag', tag]) // Pushing changes - const remoteGitRepoUrl = `https://${githubToken}@github.com/${process.env.GITHUB_REPOSITORY}.git` + const remoteGitRepoUrl = `https://oauth2:${githubToken}@github.com/${process.env.GITHUB_REPOSITORY}.git` await runInWorkspace('git', ['push', remoteGitRepoUrl]) await runInWorkspace('git', ['push', remoteGitRepoUrl, '--tags'])