From e0866ec231612e7cbf560813753babed836c056a Mon Sep 17 00:00:00 2001 From: Robert Sese <734194+rsese@users.noreply.github.com> Date: Tue, 10 Oct 2023 20:43:21 -0500 Subject: [PATCH] switch tokens around to hopefully fix auto-merging (#44147) --- .github/workflows/enterprise-dates.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/enterprise-dates.yml b/.github/workflows/enterprise-dates.yml index 9adb9a5cd9..897c06be47 100644 --- a/.github/workflows/enterprise-dates.yml +++ b/.github/workflows/enterprise-dates.yml @@ -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