File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 # The success conclusion gate below skips ETL when a deploy was skipped.
1616 workflows : ["Deploy to Prod (fabric-cicd)", "Deploy to Prod (Bulk API)"]
1717 types : [completed]
18+ # Manual trigger so operators can re-run the ETL without having to fake a
19+ # deploy. The Prod GitHub Environment protection rules still apply to the
20+ # reusable workflow's job, so any approval gates remain in effect.
21+ workflow_dispatch :
1822
1923permissions :
2024 contents : read
2125
2226jobs :
2327 run-etl :
2428 name : Run ETL
25- if : ${{ github.event.workflow_run.conclusion == 'success' }}
29+ # Run when triggered manually, OR when the upstream deploy workflow succeeded.
30+ # workflow_run-triggered runs whose deploy was skipped/failed should not run.
31+ if : ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
2632 uses : ./.github/workflows/reusable-fabric-etl.yml
2733 with :
2834 environment : Prod
Original file line number Diff line number Diff line change 1515 # The success conclusion gate below skips ETL when a deploy was skipped.
1616 workflows : ["Deploy to Test (fabric-cicd)", "Deploy to Test (Bulk API)"]
1717 types : [completed]
18+ # Manual trigger so operators can re-run the ETL without having to fake a
19+ # deploy. Useful when a workflow_run-triggered run fails because of a
20+ # transient issue or a workflow file fix that landed on main after the run
21+ # was already created (workflow_run reruns use the workflow file frozen at
22+ # original trigger time, not the current default branch).
23+ workflow_dispatch :
1824
1925permissions :
2026 contents : read
2127
2228jobs :
2329 run-etl :
2430 name : Run ETL
25- if : ${{ github.event.workflow_run.conclusion == 'success' }}
31+ # Run when triggered manually, OR when the upstream deploy workflow succeeded.
32+ # workflow_run-triggered runs whose deploy was skipped/failed should not run.
33+ if : ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
2634 uses : ./.github/workflows/reusable-fabric-etl.yml
2735 with :
2836 environment : Test
You can’t perform that action at this time.
0 commit comments