mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 03:35:42 -04:00
ci: list existing labels for workflow
This commit is contained in:
14
.github/workflows/issues-scan.yml
vendored
14
.github/workflows/issues-scan.yml
vendored
@@ -307,17 +307,13 @@ jobs:
|
||||
|
||||
const fs = require( 'fs' );
|
||||
const escape_html = ( unsafe ) => unsafe.replace( /&/g, '&' ).replace( /</g, '<' ).replace( />/g, '>' ).replace( /"/g, '"' ).replace( /'/g, ''' );
|
||||
const labels = context.payload.pull_request.labels;
|
||||
const labels = [];
|
||||
|
||||
console.log(`-----------------------------------------------------------------------------------------------`)
|
||||
console.log(` PR Labels ............ ${ labels }`)
|
||||
console.log(`-----------------------------------------------------------------------------------------------`)
|
||||
const files_List = `${{ steps.task_autocheck_changed_files_get.outputs.all_changed_files }}` || ''
|
||||
const files_Array = files_List.split(',')
|
||||
const branch_ref = `${ context.payload.pull_request.head.ref }`
|
||||
|
||||
const files_List = `${{ steps.task_autocheck_changed_files_get.outputs.all_changed_files }}` || '';
|
||||
const files_Array = files_List.split(',');
|
||||
const branch_ref = `${ context.payload.pull_request.head.ref }`;
|
||||
|
||||
let message = [ "\n<br />\n" ];
|
||||
let message = [ "\n<br />\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 ( "\n<br />\n\n---\n\n<br />\n\n" );
|
||||
|
||||
Reference in New Issue
Block a user