Skip to content

chore: add OpenSSF Scorecard workflow - #118

Open
yocaba wants to merge 3 commits into
mainfrom
chore/scorecard
Open

yocaba wants to merge 3 commits into
mainfrom
chore/scorecard

Conversation

@yocaba

@yocaba yocaba commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

What

Add an OpenSSF Scorecard workflow that scores dev-kit and publishes the results.

Why

Every repo runs dev-kit's reusable workflows and tooling. Scorecard's Dangerous-Workflow and Code-Review checks cover gaps that the existing pin and permission checks don't.

Testing

none

Checklist

  • Tests added/updated, or confirmed that no tests are required
  • No breaking changes, or upgrade path documented above
  • Readable commit history (squashed and cleaned up as desired)
  • AI code review considered and comments resolved

Summary by CodeRabbit

  • Security
    • Added automated OpenSSF Scorecard reporting, with results available in code scanning.
  • Documentation
    • Added an OpenSSF Scorecard badge to the README, linking to the project’s Scorecard page.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d10def56-865c-453b-81a0-5625086abb5b

No actionable comments were generated in the recent review.

Walkthrough

The repository adds a GitHub Actions workflow that runs Scorecard analysis and uploads SARIF results. The README adds an OpenSSF Scorecard badge linked to the project’s Scorecard page.

Changes: Scorecard analysis and reporting

Layer / File(s) Summary
Scorecard workflow and project badge
.github/workflows/scorecard.yml, README.md
The workflow runs Scorecard on configured events, publishes results, and uploads SARIF output to code scanning. The README adds a badge linking to the project’s Scorecard page.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: rebellieous

Merge Risk: Minimal · previous review 4de22

This adds an OpenSSF Scorecard workflow and a README badge. It does not change runtime behavior. No merge-blocking risk was found.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description gives a clear What and Why for adding the OpenSSF Scorecard workflow. The Testing section says only "none", so no verification is described. The Notes for reviewers section is absent, … Add a Closes # line that references the related issue, or state that no issue exists. In Testing, describe how the workflow was validated, for example a run on a branch, the SARIF upload result, or the Scorecard score produced. Add Notes fo…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "chore: add OpenSSF Scorecard workflow" matches the main change. The PR adds a Scorecard workflow file and a README badge. The title omits the README badge, which is a minor secondary change…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore: add OpenSSF Scorecard workflow" matches the main change. The PR adds a Scorecard workflow file and a README badge. The title omits the README badge, which is a minor secondary change.

Full details: Description check

Explanation

The description gives a clear What and Why for adding the OpenSSF Scorecard workflow. The Testing section says only "none", so no verification is described. The Notes for reviewers section is absent, although the change adds a workflow with write permissions (security-events and id-token) and a scheduled trigger. The checklist is ticked, including the box that says tests are not required, which conflicts with the empty Testing section. The Why section also states a motivation but does not link an issue, so the "Closes #" line is missing.

Resolution

Add a Closes # line that references the related issue, or state that no issue exists. In Testing, describe how the workflow was validated, for example a run on a branch, the SARIF upload result, or the Scorecard score produced. Add Notes for reviewers that list the new permissions (security-events: write, id-token: write), the triggers (branch protection rule changes, weekly Tuesday schedule, pushes to main), and the ubuntu-26.04 runner. Clear the checklist item for tests, or explain why no tests are required. Re-check the checklist items after these edits.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 23cfdf9c-bc70-4fb1-a501-9cc1512d36df
Commits

Reviewing files that changed from the base of the PR and between e3b5b7f and 4de2264.

Files selected for processing: 2

  • .github/workflows/scorecard.yml
  • README.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

This branch has not been deployed

No deployments
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.

2 participants