Add Scorecard workflow for supply-chain security - #57
Conversation
There was a problem hiding this comment.
Pull request overview
Adds an OpenSSF Scorecard GitHub Actions workflow to run periodic and on-change supply-chain security checks and publish results to GitHub code scanning.
Changes:
- Introduces
.github/workflows/scorecard.ymlto run Scorecard onpushtomain, weeklyschedule, andbranch_protection_ruleevents. - Uploads SARIF output both as a workflow artifact and to GitHub’s code scanning dashboard.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| permissions: | ||
| # Needed to upload the results to code-scanning dashboard. | ||
| security-events: write | ||
| # Needed to publish results and get a badge (see publish_results below). | ||
| id-token: write | ||
| # Uncomment the permissions below if installing in a private repository. | ||
| # contents: read | ||
| # actions: read |
| # `publish_results: true` only works when run from the default branch. conditional can be removed if disabled. | ||
| if: github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request' |
| - name: "Upload to code-scanning" | ||
| uses: github/codeql-action/upload-sarif@v3 |
|
Warning Review limit reached
Next review available in: 36 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
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. Comment |
|
Label error. Requires at least 1 of: breaking, chore, feat, fix. Found: . Follow https://www.conventionalcommits.org to get auto-labeling to work correctly. |
This pull request introduces a new GitHub Actions workflow to enhance supply-chain security by integrating the OpenSSF Scorecard analysis into the CI/CD pipeline. The workflow is designed to run on the main branch and on a scheduled basis, ensuring ongoing security checks and visibility via GitHub's code scanning dashboard.
Supply-chain security automation:
.github/workflows/scorecard.ymlworkflow that runs the OpenSSF Scorecard analysis on pushes to the main branch and on a weekly schedule. The workflow uploads results as artifacts and to GitHub's code scanning dashboard, helping to monitor and improve repository security practices.