Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable support for OpenSSF Badges instead of only scores #46

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

rajbos
Copy link
Contributor

@rajbos rajbos commented Mar 26, 2023

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

dist/issue.ejs Outdated Show resolved Hide resolved
dist/report.ejs Outdated Show resolved Hide resolved
@UlisesGascon
Copy link
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
Copy link
Contributor Author

rajbos commented Mar 26, 2023

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
Copy link
Member

@UlisesGascon UlisesGascon left a comment

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
Copy link
Contributor Author

rajbos commented Mar 29, 2023

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