Skip to content

Commit 96dc03a

Browse files
authored
Copy dependabot-auto-merge.yml script from core-fly (#530)
1 parent 15eed23 commit 96dc03a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
if: ${{ github.actor == 'dependabot[bot]' }}
1212
steps:
13+
- name: Authenticate cli with a PAT
14+
run: echo "${{ secrets.DEPENDABOT_TOKEN }}" | gh auth login --with-token
1315
- name: Enable auto-merge for Dependabot PRs
1416
run: gh pr merge --auto --squash "$PR_URL"
1517
env:
1618
PR_URL: ${{github.event.pull_request.html_url}}
17-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)