We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 994dc7b + d33e701 commit d97d068Copy full SHA for d97d068
.github/workflows/renovate-auto-approve.yml
@@ -0,0 +1,24 @@
1
+name: auto-approve
2
+on: pull_request
3
+
4
+permissions:
5
+ pull-requests: write
6
+ contents: write
7
8
+jobs:
9
+ auto-approve:
10
+ runs-on: ubuntu-latest
11
+ if: ${{ github.actor == 'renovate[bot]' || github.actor == 'dependabot[bot]' }}
12
+ steps:
13
+ - name: Approve Renovate PR
14
+ run: gh pr review --approve "$PR_URL"
15
+ env:
16
+ PR_URL: ${{github.event.pull_request.html_url}}
17
+ GITHUB_TOKEN: ${{ secrets.GYGROBOT_TOKEN }}
18
19
+ - name: auto-merge Dependabot PRs
20
+ if: ${{ github.actor == 'dependabot[bot]' }}
21
+ run: gh pr merge --auto --squash "$PR_URL"
22
23
24
0 commit comments