ci: add debugging for js context

This commit is contained in:
2025-03-17 16:25:50 -07:00
parent 0e0eefba2b
commit b11f85caf5

View File

@@ -305,7 +305,7 @@ jobs:
github-token: ${{ secrets.ADMINSERV_TOKEN_CL }}
script: |
console.log('Running Autoscan')
console.log(` PR Context ............ ${ context }`)
console.log(JSON.stringify(`${ context }`, null, 4))
const fs = require( 'fs' );
const escape_html = ( unsafe ) => unsafe.replace( /&/g, '&amp;' ).replace( /</g, '&lt;' ).replace( />/g, '&gt;' ).replace( /"/g, '&quot;' ).replace( /'/g, '&#039;' );