ci: Bug fix? Use main token rather than PAT

This commit is contained in:
Chris Hennick 2024-04-28 12:01:37 -07:00
parent 38829b1f4b
commit 37bafb14b1
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -15,9 +15,9 @@ jobs:
if: ${{ github.actor == 'dependabot[bot]' }}
uses: dependabot/fetch-metadata@v2.1.0
with:
github-token: "${{ secrets.RELEASE_PLZ_PAT }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: "${{ secrets.RELEASE_PLZ_PAT }}"
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"