Skip to content

Commit 48736c8

Browse files
authored
ci(auto-merge): approve in addition to comment (#657)
1 parent 8fbe6e4 commit 48736c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/auto-merge.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ jobs:
2525
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' && !startsWith(steps.dependabot-metadata.outputs.previous-version, '0.') || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' && !startsWith(steps.dependabot-metadata.outputs.previous-version, '0.0.') }}
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.AUTOMERGE_TOKEN }}
28-
run: gh pr comment ${{ github.event.pull_request.html_url }} --body "@dependabot squash and merge"
28+
run: |
29+
gh pr review ${{ github.event.pull_request.html_url }} --approve
30+
gh pr comment ${{ github.event.pull_request.html_url }} --body "@dependabot squash and merge"

0 commit comments

Comments
 (0)