Skip to content

Commit db2bf9e

Browse files
authored
ci(auto-merge): approve in addition to comment
1 parent ff00f5a commit db2bf9e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/auto-merge.yml

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

0 commit comments

Comments
 (0)