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

✨ Display maintainers annotation #567

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ definitions:
x-order: 4
items:
type: string
maintainersAnnotation:
type: array
x-order: 5
items:
type: string

VerifiedScorecardResult:
type: object
Expand Down
6 changes: 6 additions & 0 deletions scorecards-site/static/viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,12 @@
<div class="text-muted detail-line">{{this}}</div>
{{/each}}
{{/if}}
{{#if maintainersAnnotation}}
<div class="fw-semibold details-title">Maintainers Annotation</div>
{{#each maintainersAnnotation}}
<div class="text-muted detail-line">{{this}}</div>
{{/each}}
{{/if}}
<div class="link-wrapper">
<a class="btn-link fw-semibold" href="{{documentation.url}}" target="_blank" rel="noopener noreferrer">
<div class="d-flex flex-row align-items-center justify-content-end">
Expand Down