Within its logic to test whether the comment was already posted, I am adding an extra condition – ensure that the user that posted the comment actually counts for the purpose of content validation: raw_url ; if ( result [ i ] && rawUrl ) { var request = require ( 'request' ); ( function ( resultDoc , url , container , prComment ) { // Download the raw file that got changed in this PR. var content = body ; // Run the text content against the pre-defined rules.