github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/benchmark/dangerfile.js (about)

     1  // this file is used to generate a message for each PR
     2  import { markdown } from 'danger';
     3  const fs = require('fs');
     4  const path = require('path');
     5  
     6  const report = fs.readFileSync(path.join(__dirname, './report/pr-report.md'));
     7  
     8  markdown(`${report}`);