From 63e3cce26eaefba4beff6cd0710ad47403a900e6 Mon Sep 17 00:00:00 2001 From: Lukas Gravley Date: Wed, 5 Aug 2020 11:50:59 -0500 Subject: [PATCH] adding nice stuff --- .github/workflows/automerge-dependabot.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/automerge-dependabot.yml b/.github/workflows/automerge-dependabot.yml index 5caaa35e..32eb70a6 100644 --- a/.github/workflows/automerge-dependabot.yml +++ b/.github/workflows/automerge-dependabot.yml @@ -29,7 +29,16 @@ jobs: runs-on: ubuntu-latest if: github.actor == 'dependabot[bot]' steps: + - name: Wait for CI/CT/CD to succeed + uses: fountainhead/action-wait-for-check@v1.0.0 + id: wait-for-build + with: + token: ${{ secrets.GITHUB_TOKEN }} + checkName: Deploy Docker Image - DEV + ref: ${{ github.event.pull_request.head.sha || github.sha }} + - name: merge + if: steps.wait-for-build.outputs.conclusion == 'success' uses: actions/github-script@v2 with: script: |