Skip to content

Commit c2519a1

Browse files
authored
fix(auto-merge): approve before comment (#22)
1 parent 5b9384a commit c2519a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/auto-merge.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ jobs:
2121
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' }}
2222
env:
2323
GITHUB_TOKEN: ${{ secrets.AUTOMERGE_TOKEN }}
24-
run: gh pr comment ${{ github.event.pull_request.html_url }} --body "@dependabot squash and merge"
24+
run: |
25+
gh pr review ${{ github.event.pull_request.html_url }} --approve"
26+
gh pr comment ${{ github.event.pull_request.html_url }} --body "@dependabot squash and merge"

0 commit comments

Comments
 (0)