From e7e977c91f66352ba0d106733eab885f5d1c1552 Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Wed, 3 Nov 2021 09:15:45 +0100 Subject: [PATCH] ci: enable dependabot after v4 effort --- .../{_dependabot_.yaml => dependabot.yaml} | 0 .github/workflows/dependabot-merge.yml | 25 +++++++++++++++++++ 2 files changed, 25 insertions(+) rename .github/{_dependabot_.yaml => dependabot.yaml} (100%) create mode 100644 .github/workflows/dependabot-merge.yml diff --git a/.github/_dependabot_.yaml b/.github/dependabot.yaml similarity index 100% rename from .github/_dependabot_.yaml rename to .github/dependabot.yaml diff --git a/.github/workflows/dependabot-merge.yml b/.github/workflows/dependabot-merge.yml new file mode 100644 index 00000000..35ed1754 --- /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 }}