From b7898ba09ff827eadbd50aa12ec63108942358c9 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Mon, 12 Sep 2022 16:45:06 +0000 Subject: [PATCH] chore: Automatically approve dependabot PRs Dependabot is annoying but now it makes merging it's PRs a little bit easier! --- .github/workflows/dependabot.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/dependabot.yaml diff --git a/.github/workflows/dependabot.yaml b/.github/workflows/dependabot.yaml new file mode 100644 index 0000000000000..0a41a54b70688 --- /dev/null +++ b/.github/workflows/dependabot.yaml @@ -0,0 +1,13 @@ +# Dependabot is annoying, but this makes it a bit less so. +name: Auto Approve Dependabot + +on: pull_request_target + +jobs: + auto-approve: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: hmarr/auto-approve-action@v2 + if: github.actor == 'dependabot[bot]'