File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 snapshot_checkout_path :
1313 required : true
1414 type : string
15+ snapshot_repository_ref :
16+ required : false
17+ type : string
18+ default : " main"
1519 python_version :
1620 required : false
1721 type : string
@@ -131,7 +135,7 @@ jobs:
131135 uses : actions/checkout@v6
132136 with :
133137 repository : ${{ inputs.snapshot_repository }}
134- ref : main
138+ ref : ${{ inputs.snapshot_repository_ref }}
135139 token : ${{ secrets.snapshot_repository_token || github.token }}
136140 path : ${{ inputs.snapshot_checkout_path }}
137141
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ def test_reusable_drift_workflow_enforces_lifecycle_preflight() -> None:
1414 assert "snapshot_repository:" in workflow
1515 assert "snapshot_repository_token:" in workflow
1616 assert "snapshot_checkout_path:" in workflow
17+ assert "snapshot_repository_ref:" in workflow
1718 assert "ai_gateway_service_url:" in workflow
1819 assert "quant_platform_kit_ref:" in workflow
1920 assert "lifecycle_performance_bucket:" in workflow
@@ -38,6 +39,7 @@ def test_reusable_drift_workflow_enforces_lifecycle_preflight() -> None:
3839 ) in workflow
3940 assert "quant-lifecycle drift --domain ${{ inputs.strategy_domain }} --no-alerts" in workflow
4041 assert 'repository: ${{ inputs.snapshot_repository }}' in workflow
42+ assert 'ref: ${{ inputs.snapshot_repository_ref }}' in workflow
4143 assert 'path: ${{ inputs.snapshot_checkout_path }}' in workflow
4244 assert 'token: ${{ secrets.snapshot_repository_token || github.token }}' in workflow
4345 assert 'ref: ${{ inputs.quant_platform_kit_ref }}' in workflow
You can’t perform that action at this time.
0 commit comments