Skip to content

Enable support for OpenSSF Badges instead of only scores - #46

Merged
UlisesGascon merged 1 commit into
ossf:mainfrom
rajbos:main
Mar 30, 2023
Merged

Enable support for OpenSSF Badges instead of only scores#46
UlisesGascon merged 1 commit into
ossf:mainfrom
rajbos:main

Conversation

@rajbos

@rajbos rajbos commented Mar 26, 2023

Copy link
Copy Markdown
Contributor

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

Comment thread dist/issue.ejs Outdated
Comment thread dist/report.ejs Outdated
@UlisesGascon

Copy link
Copy Markdown
Member

@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
rajbos force-pushed the main branch 2 times, most recently from ad75770 to 9808a25 Compare March 26, 2023 18:25
@rajbos

rajbos commented Mar 26, 2023

Copy link
Copy Markdown
Contributor Author

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

@rajbos
rajbos marked this pull request as ready for review March 26, 2023 18:27

@UlisesGascon UlisesGascon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor thing, @rajbos .. can you remove the .github/workflows/test_action_locally.yml file from this PR and create a separate PR for that file. I love to discuss about it in more detail but I don't want to block this PR as the Badge logic is perfect for being shipped in the next Beta release 🎉

@UlisesGascon UlisesGascon added this to the v2.0.0-beta milestone Mar 28, 2023
@rajbos

rajbos commented Mar 29, 2023

Copy link
Copy Markdown
Contributor Author

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

@UlisesGascon
UlisesGascon merged commit 6c1d547 into ossf:main Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show the scorecard badges in the table

2 participants