Skip to content

Commit

Permalink
fix(auto-merge): approve before comment (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Jul 8, 2024
1 parent 5b9384a commit c2519a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ jobs:
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' }}
env:
GITHUB_TOKEN: ${{ secrets.AUTOMERGE_TOKEN }}
run: gh pr comment ${{ github.event.pull_request.html_url }} --body "@dependabot squash and merge"
run: |
gh pr review ${{ github.event.pull_request.html_url }} --approve"
gh pr comment ${{ github.event.pull_request.html_url }} --body "@dependabot squash and merge"

0 comments on commit c2519a1

Please sign in to comment.