Skip to content

feat: configure bots to manage dependency updates #2

feat: configure bots to manage dependency updates

feat: configure bots to manage dependency updates #2

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."