From 6c0d5cd298d26d8aac8881a14a8621dde9536d52 Mon Sep 17 00:00:00 2001 From: Ronnie Miller Date: Thu, 29 Aug 2024 21:49:33 -0700 Subject: [PATCH] Update draft dispatch workflow to use managed PAT (#17) Co-authored-by: github-actions[bot] --- .github/workflows/dispatch-deploy-draft.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dispatch-deploy-draft.yml b/.github/workflows/dispatch-deploy-draft.yml index 6d6b759..5a134ea 100644 --- a/.github/workflows/dispatch-deploy-draft.yml +++ b/.github/workflows/dispatch-deploy-draft.yml @@ -15,7 +15,6 @@ jobs: with: owner: riptano repo: datastax-docs-site - github_token: ${{ secrets.DISPATCH_GITHUB_TOKEN }} - github_user: ${{ secrets.DISPATCH_GITHUB_USER }} + github_token: ${{ secrets.DOC_GITHUB_PAT_CROSS_ORG }} workflow_file_name: deploy-draft.yml client_payload: '{ "build_repository": "${{ github.event.repository.full_name }}", "build_branch": "${{ github.base_ref }}", "draft_branch": "${{ github.event.pull_request.head.ref }}", "pull_request_number": "${{ github.event.pull_request.number }}" }'