File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1251,6 +1251,8 @@ jobs:
12511251 sparse-checkout : |
12521252 scripts/full-release-validation-state.mjs
12531253 scripts/full-release-validation-policy.mjs
1254+ scripts/release-ci-summary.mjs
1255+ scripts/lib/plain-gh.mjs
12541256 sparse-checkout-cone-mode : false
12551257 persist-credentials : false
12561258
Original file line number Diff line number Diff line change @@ -9753,6 +9753,30 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
97539753 expect ( telegramProvenanceHelper ) . not . toContain ( ".baseRefName ==" ) ;
97549754 } ) ;
97559755
9756+ it ( "checks out the complete Release Decision evidence validator closure" , ( ) => {
9757+ const workflow = readWorkflow ( ".github/workflows/full-release-validation.yml" ) ;
9758+ const checkout = workflow . jobs . release_decision . steps . find (
9759+ ( step : WorkflowStep ) => step . name === "Checkout release decision tooling" ,
9760+ ) ;
9761+ const sparseCheckoutPaths = String ( checkout ?. with ?. [ "sparse-checkout" ] ?? "" )
9762+ . split ( "\n" )
9763+ . map ( ( line ) => line . trim ( ) )
9764+ . filter ( Boolean ) ;
9765+
9766+ expect ( sparseCheckoutPaths ) . toEqual ( [
9767+ "scripts/full-release-validation-state.mjs" ,
9768+ "scripts/full-release-validation-policy.mjs" ,
9769+ "scripts/release-ci-summary.mjs" ,
9770+ "scripts/lib/plain-gh.mjs" ,
9771+ ] ) ;
9772+ for ( const sparsePath of sparseCheckoutPaths ) {
9773+ expect ( { sparsePath, exists : existsSync ( sparsePath ) } ) . toEqual ( {
9774+ sparsePath,
9775+ exists : true ,
9776+ } ) ;
9777+ }
9778+ } ) ;
9779+
97569780 it ( "keeps maturity scorecard release docs opt-in from release checks" , ( ) => {
97579781 const releaseWorkflow = readReleaseChecksWorkflow ( ) ;
97589782 const job = releaseWorkflow . jobs . maturity_scorecard_release_checks ;
You can’t perform that action at this time.
0 commit comments