ci: list existing labels for workflow

This commit is contained in:
2025-03-17 12:57:56 -07:00
parent a578677137
commit 06cbd4663c

View File

@@ -307,17 +307,13 @@ jobs:
const fs = require( 'fs' ); const fs = require( 'fs' );
const escape_html = ( unsafe ) => unsafe.replace( /&/g, '&amp;' ).replace( /</g, '&lt;' ).replace( />/g, '&gt;' ).replace( /"/g, '&quot;' ).replace( /'/g, '&#039;' ); const escape_html = ( unsafe ) => unsafe.replace( /&/g, '&amp;' ).replace( /</g, '&lt;' ).replace( />/g, '&gt;' ).replace( /"/g, '&quot;' ).replace( /'/g, '&#039;' );
const labels = context.payload.pull_request.labels; const labels = [];
console.log(`-----------------------------------------------------------------------------------------------`) const files_List = `${{ steps.task_autocheck_changed_files_get.outputs.all_changed_files }}` || ''
console.log(` PR Labels ............ ${ labels }`) const files_Array = files_List.split(',')
console.log(`-----------------------------------------------------------------------------------------------`) const branch_ref = `${ context.payload.pull_request.head.ref }`
const files_List = `${{ steps.task_autocheck_changed_files_get.outputs.all_changed_files }}` || ''; let message = [ "\n<br />\n" ]
const files_Array = files_List.split(',');
const branch_ref = `${ context.payload.pull_request.head.ref }`;
let message = [ "\n<br />\n" ];
message.push ( "## Automatic Self-Check - #" + context.issue.number + "\n" ); message.push ( "## Automatic Self-Check - #" + context.issue.number + "\n" );
message.push ( `The details of our automated scan for your pull request are listed below. If our scan detected errors, they must be corrected before this pull request will be advanced to the review stage:\n` ); message.push ( `The details of our automated scan for your pull request are listed below. If our scan detected errors, they must be corrected before this pull request will be advanced to the review stage:\n` );
message.push ( "\n<br />\n\n---\n\n<br />\n\n" ); message.push ( "\n<br />\n\n---\n\n<br />\n\n" );