Skip to content

Commit 4691871

Browse files
committed
Fix git permission issue
1 parent 0c41bca commit 4691871

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ci/cdk/pipeline/ci_stage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def add_stage_to_pipeline(
8181
"git fetch upstream",
8282
"git checkout main",
8383
"git merge --ff-only upstream/main",
84+
"git remote set-url origin https://${GITHUB_PAT}@github.com/${STAGING_GITHUB_REPO_OWNER}/${STAGING_GITHUB_REPO_NAME}.git",
8485
"git push origin main",
8586
],
8687
env={

0 commit comments

Comments
 (0)