Skip to content

Instantly share code, notes, and snippets.

@romw314
romw314 / autoapprove-dependabot.yml
Last active July 23, 2023 11:10 — forked from jim80net/autoapprove-dependabot.yml
Auto approve and merge dependabot pull requests. Credit to Phillip Verheyden.
name: Dependabot auto-approve
on: pull_request_target
permissions:
pull-requests: write
# From the docs at https://github.com/dependabot/fetch-metadata#enabling-auto-merge
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}