Skip to content

Commit

Permalink
Use a single automation PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
brrygrdn committed Apr 19, 2022
1 parent f9682a0 commit a5e7023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5e7023

Please sign in to comment.