From e1f0c286f11e57f55b44d42d9f9363de7baca1f4 Mon Sep 17 00:00:00 2001 From: Timothy Lai Date: Thu, 18 Mar 2021 19:09:59 -0700 Subject: [PATCH] ci(dependabot): GA merge PR action --- .github/workflows/dependabot-merge.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/dependabot-merge.yml diff --git a/.github/workflows/dependabot-merge.yml b/.github/workflows/dependabot-merge.yml new file mode 100644 index 00000000000..35ed17543b5 --- /dev/null +++ b/.github/workflows/dependabot-merge.yml @@ -0,0 +1,25 @@ +name: Merge me! + +on: + pull_request_target: + +jobs: + merge-me: + name: Merge me! + if: github.actor == 'dependabot[bot]' + runs-on: ubuntu-latest + steps: + - name: 'Wait for status checks' + id: waitforstatuschecks + uses: WyriHaximus/github-action-wait-for-status@v1 + with: + ignoreActions: Merge me! + checkInterval: 180 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Merge me! + if: steps.waitforstatuschecks.outputs.status == 'success' + uses: ahmadnassri/action-dependabot-auto-merge@v2 + with: + target: minor + github-token: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}