Skip to content

Commit

Permalink
use real token
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Nov 19, 2024
1 parent cea8eda commit 9ba3af2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2eTests/e2eTestHelper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,8 @@ function CreateAlGoRepository {
invoke-git commit --allow-empty -m 'init'
invoke-git branch -M $branch
if ($githubOwner -and $script:token) {
invoke-git remote set-url origin "https://$($githubOwner):$($script:token)@github.com/$repository.git"
$realToken = GetRealToken -token $script:token -repository "$githubOwner/.github"
invoke-git remote set-url origin "https://$($githubOwner):$($realtoken)@github.com/$repository.git"
}
invoke-git push --set-upstream origin $branch
if (!$github) {
Expand Down

0 comments on commit 9ba3af2

Please sign in to comment.