Skip to content

Commit

Permalink
🐛 Fix the gh cli command (#1421)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Zunker <christian@mondoo.com>
  • Loading branch information
czunker authored Sep 4, 2024
1 parent e39cefa commit cf8c1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
- name: Approve a PR
# Settings the comment will auto merge the PR after all tests passed
# https://docs.github.com/en/enterprise-cloud@latest/code-security/dependabot/working-with-dependabot/managing-pull-requests-for-dependency-updates#managing-dependabot-pull-requests-with-comment-commands
run: gh pr review --comment "@dependabot squash and merge" --approve "$PR_URL"
run: gh pr review "$PR_URL" --approve --body "@dependabot squash and merge"
env:
PR_URL: ${{ steps.pr.outputs.url }}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down

0 comments on commit cf8c1cf

Please sign in to comment.