Use PAT so other workflows trigger in GraphQL update workflow (#28674)
Use PAT so other workflows trigger
This commit is contained in:
7
.github/workflows/update-graphql-files.yml
vendored
7
.github/workflows/update-graphql-files.yml
vendored
@@ -53,8 +53,11 @@ jobs:
|
||||
# Disable pre-commit hooks; they don't play nicely here
|
||||
HUSKY: '0'
|
||||
with:
|
||||
# need to use a token with repo and workflow scopes for this step
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Need to use a token with repo and workflow scopes for this step.
|
||||
# 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.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
|
||||
commit-message: 'Action ran graphql script"update-files"'
|
||||
title: GraphQL schema update
|
||||
body:
|
||||
|
||||
Reference in New Issue
Block a user