Skip to content

Commit b2b12f4

Browse files
authored
Merge pull request #200 from StarRocks/DOCS_PUSH_PAT
new PAT
2 parents bcf499b + 0f67d72 commit b2b12f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci-doc-translater.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Checkout PR (Untrusted Content)
7070
uses: actions/checkout@v4
7171
with:
72-
token: ${{ secrets.DOC_MEMBERSHIP_PAT }}
72+
token: ${{ secrets.DOCS_PUSH_PAT }}
7373
repository: ${{ steps.pr_data.outputs.head_repo_name }}
7474
ref: ${{ steps.pr_data.outputs.head_ref }}
7575
path: pr_code
@@ -179,7 +179,7 @@ jobs:
179179
# CRITICAL AUTH FIX: Use PAT to push to Fork
180180
# This injects the PAT into the remote URL so we can write to the user's repo
181181
# ------------------------------------------------------------------
182-
git remote set-url origin https://x-access-token:${{ secrets.DOC_MEMBERSHIP_PAT }}@github.com/${{ steps.pr_data.outputs.head_repo_name }}.git
182+
git remote set-url origin https://x-access-token:${{ secrets.DOCS_PUSH_PAT }}@github.com/${{ steps.pr_data.outputs.head_repo_name }}.git
183183
184184
# Fetch the specific branch and rebase to ensure a clean history
185185
git fetch origin ${{ steps.pr_data.outputs.head_ref }}

0 commit comments

Comments
 (0)