Skip to content

Commit ba99d12

Browse files
authored
Merge pull request github#18756 from github/repo-sync
repo sync
2 parents a9c8c3e + c97ee16 commit ba99d12

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/update-graphql-files.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,11 @@ jobs:
5353
# Disable pre-commit hooks; they don't play nicely here
5454
HUSKY: '0'
5555
with:
56-
# need to use a token with repo and workflow scopes for this step
57-
token: ${{ secrets.GITHUB_TOKEN }}
56+
# Need to use a token with repo and workflow scopes for this step.
57+
# Token should be a PAT because actions performed with GITHUB_TOKEN
58+
# don't trigger other workflows and this action force pushes updates
59+
# from the default branch.
60+
token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
5861
commit-message: 'Action ran graphql script"update-files"'
5962
title: GraphQL schema update
6063
body:

0 commit comments

Comments
 (0)