Skip to content

Commit

Permalink
Merge branch 'main' into mohnoor94/SDK-1573
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 authored Nov 14, 2024
2 parents 53176ea + 8242982 commit e753d55
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr-auto-approve.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Auto First Approval for Bot PRs
on: pull_request

jobs:
auto-first-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
if: github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]'
steps:
- name: Provide first approval
uses: hmarr/auto-approve-action@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
review-message: "Renovate and Dependabot PRs are automatically approved. Still requires human review."

0 comments on commit e753d55

Please sign in to comment.