Skip to content

Commit 8242982

Browse files
authored
feat: auto approve bot prs (#222)
1 parent 5052e91 commit 8242982

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Auto First Approval for Bot PRs
2+
on: pull_request
3+
4+
jobs:
5+
auto-first-approve:
6+
runs-on: ubuntu-latest
7+
permissions:
8+
pull-requests: write
9+
contents: read
10+
if: github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]'
11+
steps:
12+
- name: Provide first approval
13+
uses: hmarr/auto-approve-action@v4
14+
with:
15+
github-token: ${{ secrets.GITHUB_TOKEN }}
16+
review-message: "Renovate and Dependabot PRs are automatically approved. Still requires human review."

0 commit comments

Comments
 (0)