From a8b2d80e4c706f5fc6209b267f2bcc5bc89cb6d3 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Fri, 23 Jul 2021 09:09:25 -0400 Subject: add auto-merge for dependabot PRs (#1668) --- .github/workflows/auto-merge.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/auto-merge.yml (limited to '.github') diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml new file mode 100644 index 0000000000..ed88864f35 --- /dev/null +++ b/.github/workflows/auto-merge.yml @@ -0,0 +1,16 @@ +name: auto-merge + +on: + pull_request_target: + +jobs: + auto-merge: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - uses: ahmadnassri/action-dependabot-auto-merge@v2.4 + with: + github-token: ${{ secrets.AUTOMERGE_TOKEN }} + command: "squash and merge" + approve: true + target: minor -- cgit v1.2.3-54-g00ecf