File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 < script >
66 async function redirectToLatestRun ( ) {
77 try {
8- const response = await fetch ( 'https://api.github.com/repos/blackducksca-workflow-examples /bridgecli/actions/workflows/BlackduckSCA_Bridge.yml/runs' ) ;
8+ const response = await fetch ( 'https://api.github.com/repos/blackducksca-workflow-samples /bridgecli/actions/workflows/BlackduckSCA_Bridge.yml/runs' ) ;
99 const data = await response . json ( ) ;
1010 if ( data . workflow_runs && data . workflow_runs . length > 0 ) {
1111 window . location . href = data . workflow_runs [ 0 ] . html_url ;
1212 } else {
13- window . location . href = 'https://github.com/blackducksca-workflow-examples /bridgecli/actions' ;
13+ window . location . href = 'https://github.com/blackducksca-workflow-samples /bridgecli/actions' ;
1414 }
1515 } catch ( error ) {
16- window . location . href = 'https://github.com/blackducksca-workflow-examples /bridgecli/actions' ;
16+ window . location . href = 'https://github.com/blackducksca-workflow-samples /bridgecli/actions' ;
1717 }
1818 }
1919 redirectToLatestRun ( ) ;
You can’t perform that action at this time.
0 commit comments