Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/nested-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: nested matrix
env:
BATCH_SIZE: 2
on:
pull_request:
branches: [ my-protected ]

workflow_dispatch:

jobs:
Expand Down Expand Up @@ -36,6 +39,7 @@ jobs:
# set output for the job
echo "batch_matrix=[ $cluster_array_json ]" >> $GITHUB_OUTPUT


build:
runs-on: ubuntu-latest
needs: [generate-matrix]
Expand All @@ -54,3 +58,12 @@ jobs:
echo $c
done

nested-wf-done:
if: ${{ failure() }}
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Check previous job status
run: |
echo "previous job failed"
exit 11