1
0
mirror of synced 2026-01-08 03:01:54 -05:00

Use PAT so other workflows trigger in GraphQL update workflow (#28674)

Use PAT so other workflows trigger
This commit is contained in:
Robert Sese
2022-06-21 15:36:50 -05:00
committed by GitHub
parent 1d2030a10a
commit 86f15cb250

View File

@@ -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: