ci: add debugging to github workflows

This commit is contained in:
2025-03-17 16:32:13 -07:00
parent b11f85caf5
commit c938f7a212

View File

@@ -305,7 +305,8 @@ jobs:
github-token: ${{ secrets.ADMINSERV_TOKEN_CL }} github-token: ${{ secrets.ADMINSERV_TOKEN_CL }}
script: | script: |
console.log('Running Autoscan') console.log('Running Autoscan')
console.log(JSON.stringify(`${ context }`, null, 4)) console.log(JSON.stringify(context, null, 4));
console.log(JSON.stringify(github, null, 4));
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;' );