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

🐛 Fix issue template ossf link #83

Merged
merged 7 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions __tests__/__snapshots__/utils.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ exports[`Utils generateReportContent Should render template with deps.dev as ren
| -- | -- | -- | -- | -- | -- | -- |
| [fake-org/fake-repo](https://github.com/fake-org/fake-repo) | [846b3dd](https://github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo/badge)](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo) | 2023-02-20 | 5 / [Details](https://deps.dev/project/github/fake-org%2Ffake-repo) | [View](https://deps.dev/project/github/fake-org%2Ffake-repo) | [Fix it](https://app.stepsecurity.io/securerepo?repo=fake-org/fake-repo) |

_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._"
_Report generated by [OpenSSF Scorecard Monitor](https://github.com/ossf/scorecard-monitor)._
"
`;

exports[`Utils generateReportContent Should render template with scorecard-visualizer as renderTool 1`] = `
Expand All @@ -21,7 +22,8 @@ exports[`Utils generateReportContent Should render template with scorecard-visua
| -- | -- | -- | -- | -- | -- | -- |
| [fake-org/fake-repo](https://github.com/fake-org/fake-repo) | [846b3dd](https://github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo/badge)](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo) | 2023-02-20 | 5 / [Details](https://ossf.github.io/scorecard-visualizer/#/projects/github.com/fake-org/fake-repo/compare/39a08ee8b8d3818677eb823cb566f36b1b1c4671/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [View](https://ossf.github.io/scorecard-visualizer/#/projects/github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [Fix it](https://app.stepsecurity.io/securerepo?repo=fake-org/fake-repo) |

_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._"
_Report generated by [OpenSSF Scorecard Monitor](https://github.com/ossf/scorecard-monitor)._
"
`;

exports[`Utils generateReportContent Should render template with scores and title 1`] = `
Expand All @@ -33,7 +35,8 @@ exports[`Utils generateReportContent Should render template with scores and titl
| -- | -- | -- | -- | -- | -- | -- |
| [fake-org/fake-repo](https://github.com/fake-org/fake-repo) | [846b3dd](https://github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | 10 | 2023-02-20 | 5 / [Details](https://ossf.github.io/scorecard-visualizer/#/projects/github.com/fake-org/fake-repo/compare/39a08ee8b8d3818677eb823cb566f36b1b1c4671/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [View](https://ossf.github.io/scorecard-visualizer/#/projects/github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [Fix it](https://app.stepsecurity.io/securerepo?repo=fake-org/fake-repo) |

_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._"
_Report generated by [OpenSSF Scorecard Monitor](https://github.com/ossf/scorecard-monitor)._
"
`;

exports[`Utils generateReportContent Should render template with scores only 1`] = `
Expand All @@ -45,7 +48,8 @@ exports[`Utils generateReportContent Should render template with scores only 1`]
| -- | -- | -- | -- | -- | -- | -- |
| [fake-org/fake-repo](https://github.com/fake-org/fake-repo) | [846b3dd](https://github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo/badge)](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo) | 2023-02-20 | 5 / [Details](https://ossf.github.io/scorecard-visualizer/#/projects/github.com/fake-org/fake-repo/compare/39a08ee8b8d3818677eb823cb566f36b1b1c4671/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [View](https://ossf.github.io/scorecard-visualizer/#/projects/github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [Fix it](https://app.stepsecurity.io/securerepo?repo=fake-org/fake-repo) |

_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._"
_Report generated by [OpenSSF Scorecard Monitor](https://github.com/ossf/scorecard-monitor)._
"
`;

exports[`Utils generateReportContent Should render template with title only 1`] = `
Expand All @@ -54,5 +58,6 @@ exports[`Utils generateReportContent Should render template with title only 1`]
## Summary


_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._"
_Report generated by [OpenSSF Scorecard Monitor](https://github.com/ossf/scorecard-monitor)._
"
`;
Loading
Loading