File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments