зеркало из https://github.com/github/docs.git
switch tokens around to hopefully fix auto-merging (#44147)
This commit is contained in:
Родитель
6f8ab389b6
Коммит
e0866ec231
|
@ -56,7 +56,7 @@ jobs:
|
|||
HUSKY: '0'
|
||||
with:
|
||||
# need to use a token with repo and workflow scopes for this step
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||
commit-message: '🤖 ran src/ghes-releases/scripts/update-enterprise-dates.js'
|
||||
title: 🤖 src/ghes-releases/lib/enterprise-dates.json update
|
||||
body:
|
||||
|
@ -84,7 +84,7 @@ jobs:
|
|||
name: Approve
|
||||
uses: juliangruber/approve-pull-request-action@dcc4effb325c0b503408619918d56e40653dcc91
|
||||
with:
|
||||
github-token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
number: ${{ steps.create-pull-request.outputs.pull-request-number }}
|
||||
|
||||
- name: Send Slack notification if workflow fails
|
||||
|
|
Загрузка…
Ссылка в новой задаче