Skip to content

Commit

Permalink
Merge pull request #446 from guardian/aa/approve-dependabot-2
Browse files Browse the repository at this point in the history
call gh cli correctly!
  • Loading branch information
akash1810 authored Mar 2, 2024
2 parents 28ecd7a + 2e86323 commit 391a8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

# In this project, CI passing is a strong enough signal that the PR is safe to merge
- name: Approve a PR
run: gh pr review --approve "$PR_URL" --comment "@dependabot merge"
run: gh pr review --comment "@dependabot merge" --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 391a8e5

Please sign in to comment.