1
0
mirror of synced 2026-01-07 00:01:39 -05:00

Repo sync, Generate source repo from string instead of separate secret (#38162)

This commit is contained in:
Kevin Heis
2023-06-20 07:10:03 -07:00
parent 792b6c7820
commit 1b67198b2e

View File

@@ -27,10 +27,8 @@ jobs:
- name: Sync repo to branch
uses: repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88
env:
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
with:
source_repo: ${{ secrets.SOURCE_REPO }} # https://${access_token}@github.com/github/the-other-repo.git
source_repo: https://${{ secrets.DOCS_BOT_PAT_WORKFLOW }}@github.com/github/${{ github.repository == 'github/docs-internal' && 'docs' || 'docs-internal' }}.git
source_branch: main
destination_branch: repo-sync
github_token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}