ossf / scorecard-monitor

Simplify OpenSSF Scorecard tracking in your organization with automated markdown and JSON reports, plus optional GitHub issue alerts
https://github.com/marketplace/actions/openssf-scorecard-monitor
Apache License 2.0
32 stars 13 forks source link

Enable support for OpenSSF Badges instead of only scores #46

Closed rajbos closed 1 year ago

rajbos commented 1 year ago

Closes #45

Leaving this in draft for now, as I still need to add the new param to the README. But maybe you can help me out here: I cannot find why the test fails on this space. Even adding an extra space in front of the IF statement in the template, does not do a thing (there is already a space). I have never used this library for templating, so hopefully you know how and where this happens :-).

image

UlisesGascon commented 1 year ago

@rajbos I think the key in this case is to replace <%_ for <%, I made some suggestions in the code, let's see if that fix the white space missing

rajbos commented 1 year ago

Ah check. That fixed it. Marking this as ready for review 😄.

rajbos commented 1 year ago

Sure, I've removed the file and force pushed again 😃. Another PR for the workflow has been created: #51.