Skip to content

Commit

Permalink
feat: for lint and test workflow to complete and succeed before runni…
Browse files Browse the repository at this point in the history
…ng deployment workflow

Signed-off-by: Otieno Calvine <nyarangaotieno@gmail.com>
  • Loading branch information
NYARAS committed Aug 17, 2021
1 parent b903bac commit b61bd54
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Wait for lint and test workflow to complete
- name: Wait for other checks to succeed
uses: lewagon/wait-on-check-action@v0.2
with:
ref: ${{ github.ref }}
running-workflow-name: 'Deployment'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 40
check-regexp: .?_and_test

# Setup gcloud CLI
- uses: google-github-actions/setup-gcloud@master
Expand Down

0 comments on commit b61bd54

Please sign in to comment.