We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 770c07b commit c14b5a3Copy full SHA for c14b5a3
1 file changed
.github/workflows/sync-llms-txt.yml
@@ -80,7 +80,8 @@ jobs:
80
REPO="github/docs-internal"
81
if gh api "repos/$REPO/git/ref/heads/$BRANCH" --jq '.object.sha' > /dev/null 2>&1; then
82
echo "Branch $BRANCH exists, fetching"
83
- git fetch origin "$BRANCH"
+ git -c url."https://x-access-token:${GH_TOKEN}@github.com/".insteadOf="https://github.com/" \
84
+ fetch origin "$BRANCH"
85
git checkout "$BRANCH"
86
else
87
echo "Branch $BRANCH does not exist, creating from main"
0 commit comments