Skip to content

Commit

Permalink
fix: make sure the checkout is done with a PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Sep 13, 2022
1 parent b26b78e commit 8688ae2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.AUTOMERGE_TOKEN }}
- uses: actions-rs/toolchain@v1
- name: Install cargo-hakari, and cache the binary
uses: baptiste0928/cargo-install@v1
Expand Down Expand Up @@ -53,5 +54,5 @@ jobs:
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8688ae2

Please sign in to comment.