Skip to content

Commit 08c1dcf

Browse files
authored
Update repo-sync.yml to use DOCS_BOT_PAT_REPO_SYNC (#55736)
1 parent 1231006 commit 08c1dcf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/repo-sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ jobs:
2828
- name: Sync repo to branch
2929
uses: repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88
3030
with:
31-
source_repo: https://${{ secrets.DOCS_BOT_PAT_BASE }}@github.com/github/${{ github.repository == 'github/docs-internal' && 'docs' || 'docs-internal' }}.git
31+
source_repo: https://${{ secrets.DOCS_BOT_PAT_REPO_SYNC }}@github.com/github/${{ github.repository == 'github/docs-internal' && 'docs' || 'docs-internal' }}.git
3232
source_branch: main
3333
destination_branch: repo-sync
34-
github_token: ${{ secrets.DOCS_BOT_PAT_BASE }}
34+
github_token: ${{ secrets.DOCS_BOT_PAT_REPO_SYNC }}
3535

3636
- name: Ship pull request
3737
uses: actions/github-script@e69ef5462fd455e02edcaf4dd7708eda96b9eda0
3838
with:
39-
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
39+
github-token: ${{ secrets.DOCS_BOT_PAT_REPO_SYNC }}
4040
result-encoding: string
4141
script: |
4242
const { owner, repo } = context.repo

0 commit comments

Comments
 (0)