Merge pull request #576 from github/FIxAutomationAgain

adding more logic
This commit is contained in:
Lukas Gravley 2020-08-17 09:12:48 -05:00 committed by GitHub
commit 3a52b6c541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,8 +37,16 @@ jobs:
checkName: Deploy Docker Image - DEV checkName: Deploy Docker Image - DEV
ref: ${{ github.event.pull_request.head.sha || github.sha }} ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Wait for CI/CT/CD to succeed pt2
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-ci
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Stack linter
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: merge - name: merge
if: steps.wait-for-build.outputs.conclusion == 'success' || steps.wait-for-build.outputs.conclusion == 'skipped' if: steps.wait-for-build.outputs.conclusion == 'success' || steps.wait-for-build.outputs.conclusion == 'skipped' && steps.wait-for-ci.outputs.conclusion == 'success'
uses: actions/github-script@v2 uses: actions/github-script@v2
with: with:
script: | script: |