From ea6883d617663d9bc3d1a7720b8226a1b7cfa215 Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Wed, 11 Sep 2024 23:58:52 -0400 Subject: [PATCH] build: add workflow to approve dependabot PRs --- .github/workflows/auto-approve.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/auto-approve.yml diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml new file mode 100644 index 0000000..dc76b4f --- /dev/null +++ b/.github/workflows/auto-approve.yml @@ -0,0 +1,12 @@ +name: Auto approve + +on: pull_request_target + +jobs: + auto-approve: + runs-on: ubuntu-latest + permissions: + pull-requests: write + if: github.actor == 'dependabot[bot]' + steps: + - uses: hmarr/auto-approve-action@v4