Skip to content

ci: add OpenSSF Scorecard workflow#632

Merged
wizzomafizzo merged 3 commits intomainfrom
chore/scorecard
Apr 9, 2026
Merged

ci: add OpenSSF Scorecard workflow#632
wizzomafizzo merged 3 commits intomainfrom
chore/scorecard

Conversation

@wizzomafizzo
Copy link
Copy Markdown
Member

@wizzomafizzo wizzomafizzo commented Apr 9, 2026

Summary

  • Add weekly OpenSSF Scorecard analysis on zaparoo-core
  • Results published to scorecard.dev and uploaded to Security tab
  • Runs on push to main and weekly schedule

Summary by CodeRabbit

  • Chores
    • Enabled automated security analysis on code changes with scheduled weekly scans and result tracking.

Add weekly Scorecard analysis that grades the repository on security
practices (pinned deps, token permissions, SAST, branch protection,
etc.). Results are published to scorecard.dev and uploaded to the
Security tab as code scanning alerts.
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 9, 2026

Warning

Rate limit exceeded

@wizzomafizzo has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 3 minutes and 55 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 3 minutes and 55 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c5c2ae15-dd85-4d87-b51f-80be8672fb69

📥 Commits

Reviewing files that changed from the base of the PR and between 81f6916 and 49ea4e9.

📒 Files selected for processing (1)
  • .github/workflows/scorecard.yml
📝 Walkthrough

Walkthrough

A new GitHub Actions workflow for OpenSSF Scorecard security analysis is introduced. The workflow triggers on pushes to the main branch and weekly schedules, executing repository security analysis, generating SARIF-formatted results, uploading findings to GitHub code scanning, and archiving results as artifacts.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
.github/workflows/scorecard.yml
Adds OpenSSF Scorecard security analysis workflow with triggers for push to main and weekly schedule. Includes steps to execute scorecard analysis, upload SARIF to code scanning, and retain SARIF artifact for 5 days.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A scorecard so keen, in workflows it gleams,
Security scanning fulfills all our dreams!
Each push to main triggers safety's delight,
Weekly reviews keep the code safe and tight! 🔒✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding an OpenSSF Scorecard workflow to the CI/CD pipeline, which matches the file additions and PR objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/scorecard

Comment @coderabbitai help to get the list of available commands and usage tips.

@sentry
Copy link
Copy Markdown

sentry bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/scorecard.yml:
- Around line 13-15: The workflow's explicit permissions block (the permissions:
mapping) is missing the contents scope required by actions/checkout; update the
permissions block to include contents: read so the checkout action can read
repository files (i.e., add "contents: read" alongside security-events: write
and id-token: write in the permissions mapping referenced where actions/checkout
is used).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 49eac283-0907-4437-9726-79edfac5ef16

📥 Commits

Reviewing files that changed from the base of the PR and between 352309c and 81f6916.

📒 Files selected for processing (1)
  • .github/workflows/scorecard.yml

Comment thread .github/workflows/scorecard.yml
@wizzomafizzo wizzomafizzo merged commit 02e3db5 into main Apr 9, 2026
13 checks passed
@wizzomafizzo wizzomafizzo deleted the chore/scorecard branch April 9, 2026 11:45
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.

1 participant