Skip to content

E2EMatrixTrigger

E2EMatrixTrigger #1788

name: E2EMatrixTrigger
on:
schedule:
- cron: '7 */8 * * *'
push:
branches: [main]
workflow_run:
workflows: [ApprovalComment]
types: [completed]
workflow_dispatch:
jobs:
resolve:
if: (github.repository == 'aws/karpenter' && (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success')) || github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/resolve-args.yaml
with:
allowed_comment: "snapshot"
e2e-matrix:
needs: [resolve]
if: needs.resolve.outputs.SHOULD_RUN == 'true'
uses: ./.github/workflows/e2e-matrix.yaml
with:
git_ref: ${{ needs.resolve.outputs.GIT_REF }}
workflow_trigger: "matrix"
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}