File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 66 branches :
77 - main
88 workflow_dispatch :
9+ inputs :
10+ force_all :
11+ description : " Force split/push of all template repos, even if no changes detected"
12+ required : false
13+ type : boolean
14+ default : false
915 # IMPORTANT: workflows below must match the upstream workflow's `name:` exactly
1016 workflow_run :
1117 workflows :
5157 id : set-matrix
5258 env :
5359 CHANGED_DIRS : ${{ steps.changed.outputs.dir_names || '' }}
60+ FORCE_ALL : ${{ github.event.inputs.force_all || 'false' }}
5461 run : |
5562 # Define the full mapping
5663 declare -A STARTER_MAP=(
8491 echo "$JSON"
8592 }
8693
94+ # Manual override to force splitting all templates
95+ if [ "$FORCE_ALL" = "true" ]; then
96+ echo "Force mode enabled; splitting all templates"
97+ FULL_MATRIX=$(build_full_matrix)
98+ echo "matrix=$FULL_MATRIX" >> "$GITHUB_OUTPUT"
99+ echo "has_changes=true" >> "$GITHUB_OUTPUT"
100+ exit 0
101+ fi
102+
87103 # For non-push events, always use full matrix derived from the map above
88104 if [ "${{ github.event_name }}" != "push" ]; then
89105 echo "Using full matrix for ${{ github.event_name }} event"
You can’t perform that action at this time.
0 commit comments