Use a single automation PAT

This commit is contained in:
Barry Gordon
2022-04-19 18:35:59 +01:00
parent f9682a0a6a
commit a5e702392a
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ jobs:
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Fetch metadata
id: metadata
@@ -19,4 +19,4 @@ jobs:
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.AUTOMERGE_PAT }}
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_AUTOMATION_PAT }}

View File

@@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.DEPENDABOT_AUTOBUILD }}
token: ${{ secrets.DEPENDABOT_AUTOMATION_PAT }}
- name: Read .nvmrc
id: nvm