We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af6f9f7 commit bda9932Copy full SHA for bda9932
1 file changed
github-sync.sh
@@ -23,7 +23,7 @@ fi
23
echo "UPSTREAM_REPO=$UPSTREAM_REPO"
24
echo "BRANCHES=$BRANCH_MAPPING"
25
26
-# GitHub actions v2 no longer auto set GITHUB_TOKEN
+git config --unset-all http."https://github.com/".extraheader
27
git remote set-url origin "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY"
28
git remote add tmp_upstream "$UPSTREAM_REPO"
29
git fetch tmp_upstream
0 commit comments