1
0
mirror of synced 2026-01-09 06:03:09 -05:00

Use DOCS_BOT_PAT_BASE (#55464)

This commit is contained in:
Kevin Heis
2025-04-30 11:58:01 -07:00
committed by GitHub
parent 9e6ef2eefd
commit 02e2e2dacc
50 changed files with 100 additions and 100 deletions

View File

@@ -24,7 +24,7 @@ jobs:
- name: Run updater scripts
env:
# need to use a token from a user with access to github/github for this step
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
run: npm run sync-graphql
- name: Create pull request
id: create-pull-request
@@ -37,7 +37,7 @@ jobs:
# Token should be a PAT because actions performed with GITHUB_TOKEN
# don't trigger other workflows and this action force pushes updates
# from the default branch.
token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW }}
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
commit-message: 'Update GraphQL data files'
title: GraphQL schema update
body:
@@ -50,7 +50,7 @@ jobs:
- name: Enable GitHub auto-merge
if: ${{ steps.create-pull-request.outputs.pull-request-number }}
env:
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
AUTOMERGE_PR_NUMBER: ${{ steps.create-pull-request.outputs.pull-request-number }}
run: npm run enable-automerge