We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ca2bb commit d57d339Copy full SHA for d57d339
.github/workflows/approve-merge.yml
@@ -36,6 +36,12 @@ jobs:
36
with:
37
ref: ${{ github.event.pull_request.head.ref }} # Checkout the PR's head commit
38
token: ${{ secrets.GH_MERGE_TOKEN }}
39
+
40
+ - name: Approve PR
41
+ run: gh pr review --approve "$PR_URL"
42
+ env:
43
+ PR_URL: ${{ github.event.pull_request.html_url }}
44
+ GH_TOKEN: ${{ secrets.GH_APPROVER_TOKEN }}
45
46
- name: Merge PR
47
run: gh pr merge --auto --squash --delete-branch "$PR_URL"
0 commit comments