Skip to content

AD-133 Adds error handling and retry if ServiceBus is unavailable #238

AD-133 Adds error handling and retry if ServiceBus is unavailable

AD-133 Adds error handling and retry if ServiceBus is unavailable #238

name: Workflow Controller
on:
push:
branches: [master]
paths-ignore:
- CONTRIBUTING.md
- README.md
- .gitignore
pull_request:
branches: [master]
jobs:
call-version-workflow:
if: github.ref == 'refs/heads/master'
uses: ./.github/workflows/truevote-api-version.yml
call-build-workflow-master:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
needs: call-version-workflow
steps:
- name: Invoke Build Workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Build, Test, Cover, Deploy
token: ${{ secrets.ACTIONS_PERSONAL_ACCESS_TOKEN }}
call-build-workflow-pr:
if: github.ref != 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Invoke Build Workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Build, Test, Cover, Deploy
token: ${{ secrets.ACTIONS_PERSONAL_ACCESS_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}