@@ -270,12 +270,13 @@ let mockQueueCheckRun = jest.fn(() => 'check-run-id')
270270let mockUpdateCheckRun = jest . fn ( )
271271let mockListCheckRunsForCommit = jest . fn ( ( _context , _token , _owner , _repo , rev , checkRunName ) => {
272272 if ( rev === 'this-will-be-rc2' ) {
273+ const id = checkRunName === 'git-artifacts-x86_64' ? 8664 : 686
273274 const output = {
274275 title : 'Build Git -rc2 artifacts' ,
275- summary : 'Build Git -rc2 artifacts from commit this-will-be-rc2 (tag-git run #987)'
276+ summary : 'Build Git -rc2 artifacts from commit this-will-be-rc2 (tag-git run #987)' ,
277+ text : `For details, see [this run](https://github.com/git-for-windows/git-for-windows-automation/actions/runs/${ id } )`
276278 }
277- if ( checkRunName === 'git-artifacts-x86_64' ) return [ { id : 8664 , status : 'completed' , conclusion : 'success' , output } ]
278- if ( checkRunName === 'git-artifacts-i686' ) return [ { id : 686 , status : 'completed' , conclusion : 'success' , output } ]
279+ return [ { id, status : 'completed' , conclusion : 'success' , output } ]
279280 }
280281 if ( rev === 'dee501d15' ) {
281282 if ( checkRunName === 'tag-git' ) return [ {
@@ -411,7 +412,7 @@ The \`git-artifacts-i686\` workflow run [was started](dispatched-workflow-git-ar
411412 ref : 'main' ,
412413 inputs : {
413414 architecture : 'i686' ,
414- tag_git_workflow_run_id : 4322343196
415+ tag_git_workflow_run_id : " 4322343196"
415416 }
416417 }
417418 ] )
@@ -477,12 +478,12 @@ The \`git-artifacts-i686\` workflow run [was started](dispatched-workflow-git-ar
477478 expect ( dispatchedWorkflows [ 0 ] . html_url ) . toEqual ( 'dispatched-workflow-git-artifacts.yml' )
478479 expect ( dispatchedWorkflows [ 0 ] . payload . inputs ) . toEqual ( {
479480 architecture : 'i686' ,
480- tag_git_workflow_run_id : 341
481+ tag_git_workflow_run_id : " 341"
481482 } )
482483 expect ( dispatchedWorkflows [ 1 ] . html_url ) . toEqual ( 'dispatched-workflow-git-artifacts.yml' )
483484 expect ( dispatchedWorkflows [ 1 ] . payload . inputs ) . toEqual ( {
484485 architecture : 'x86_64' ,
485- tag_git_workflow_run_id : 341
486+ tag_git_workflow_run_id : " 341"
486487 } )
487488} )
488489
@@ -508,7 +509,7 @@ The \`release-git\` workflow run [was started](dispatched-workflow-release-git.y
508509 expect ( dispatchedWorkflows ) . toHaveLength ( 1 )
509510 expect ( dispatchedWorkflows [ 0 ] . html_url ) . toEqual ( 'dispatched-workflow-release-git.yml' )
510511 expect ( dispatchedWorkflows [ 0 ] . payload . inputs ) . toEqual ( {
511- git_artifacts_x86_64_workflow_run_id : 8664 ,
512- git_artifacts_i686_workflow_run_id : 686
512+ git_artifacts_x86_64_workflow_run_id : " 8664" ,
513+ git_artifacts_i686_workflow_run_id : " 686"
513514 } )
514515} )
0 commit comments