File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,19 +51,19 @@ jobs:
5151 - name : Generate pdf
5252 run : |
5353 echo "<html><body><pre>$(cat ${{ github.workspace }}/sbom.json)</pre></body></html>" > ${{ github.workspace }}/sbom.html
54- wkhtmltopdf ${{ github.workspace }}/sbom.html ${{ github.workspace }}/sbom.pdf
54+ xvfb-run wkhtmltopdf ${{ github.workspace }}/sbom.html ${{ github.workspace }}/sbom.pdf
5555 echo "<html><body><pre>$(cat ${{ github.workspace }}/sbom.vdr.json)</pre></body></html>" > ${{ github.workspace }}/sbomv.html
56- wkhtmltopdf ${{ github.workspace }}/sbomv.html ${{ github.workspace }}/sbomv.pdf
56+ xvfb-run wkhtmltopdf ${{ github.workspace }}/sbomv.html ${{ github.workspace }}/sbomv.pdf
5757 cat ${{ github.workspace }}/vulRep.html
58- wkhtmltopdf ${{ github.workspace }}/vulRep.html ${{ github.workspace }}/vulRep.pdf
58+ xvfb-run wkhtmltopdf ${{ github.workspace }}/vulRep.html ${{ github.workspace }}/vulRep.pdf
5959 - name : Mail Reports
6060 uses : dawidd6/action-send-mail@v3
6161 with :
6262 server_address : smtp.gmail.com
6363 server_port : 587
6464 username : ${{ secrets.GMAIL_USERNAME }}
6565 password : ${{ secrets.GMAIL_PASSWORD }}
66- to : divijs75@gmail.com, divyanshbisht2005@gmail.com, akashsah2003 @gmail.com
66+ to : divyanshbisht2005@gmail.com
6767 from : divyanshbisht2005@gmail.com
6868 subject : " Latest security reports"
6969 body : Please find the latest security reports
You can’t perform that action at this time.
0 commit comments