Skip to content

[WX-1451] GHA that runs workflows simple canary test periodically #7

[WX-1451] GHA that runs workflows simple canary test periodically

[WX-1451] GHA that runs workflows simple canary test periodically #7

name: run-workflows-canary-prod-test
'on':
schedule:
- cron: "0 * * * *" # run hourly
workflow_dispatch:
# push: #remove this before merging
# branches: [ sps_canary_gha ]
pull_request: #remove this before merging
branches: [ develop ]
jobs:
run-simple-canary-prod-test:
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
steps:
- name: Dispatch to terra-github-workflows
uses: broadinstitute/workflow-dispatch@v3
with:
workflow: workflows-canary-prod-test
repo: broadinstitute/terra-github-workflows
ref: refs/heads/sps_canary_test # change to refs/heads/main before merging
token: ${{ secrets.BROADBOT_TOKEN }} # GitHub token for access to kick off a job in the private repo
report-workflow:
uses: broadinstitute/sherlock/.github/workflows/client-report-workflow.yaml@main
with:
# notify-slack-channels-upon-workflow-failure: "#batch-servers"
notify-slack-channels-upon-workflow-completion: "#batch-servers" #use failure instead before merging
notify-slack-custom-icon: ":terra:"
permissions:
id-token: write