Skip to content

Commit 680996e

Browse files
heiskrCopilot
andauthored
Pass Repo Sync fetch token as password, not username (#64335)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9e2628d6-8b3e-4df3-b4e5-c5a61ec7ac16
1 parent b51ebc5 commit 680996e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/repo-sync.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
persist-credentials: false
3131
- name: Sync repo to branch
3232
env:
33-
SOURCE_REPO: https://${{ secrets.DOCS_BOT_PAT_REPO_SYNC }}@github.com/github/${{ github.repository == 'github/docs-internal' && 'docs' || 'docs-internal' }}.git
33+
# https://github.com/actions/runner-images/issues/15014
34+
SOURCE_REPO: https://x-access-token:${{ secrets.DOCS_BOT_PAT_REPO_SYNC }}@github.com/github/${{ github.repository == 'github/docs-internal' && 'docs' || 'docs-internal' }}.git
3435
SOURCE_BRANCH: main
3536
DESTINATION_BRANCH: repo-sync
3637
GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_REPO_SYNC }}

0 commit comments

Comments
 (0)