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