Skip to content

Commit ef8a014

Browse files
authored
fix: add --repo flag to gh pr merge to avoid git repo requirement (#16)
1 parent 92aee67 commit ef8a014

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dependabot-automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
if: github.actor == 'dependabot[bot]'
1313
steps:
1414
- name: Enable auto-merge
15-
run: gh pr merge --squash --auto "${{ github.event.pull_request.number }}"
15+
run: gh pr merge --squash --auto "${{ github.event.pull_request.number }}" --repo "${{ github.repository }}"
1616
env:
1717
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)