Skip to content

ci: lift OSSF Scorecard score (3.7 → ~6.5+)#18

Merged
aksOps merged 2 commits intomainfrom
ci-scorecard-lift
Apr 23, 2026
Merged

ci: lift OSSF Scorecard score (3.7 → ~6.5+)#18
aksOps merged 2 commits intomainfrom
ci-scorecard-lift

Conversation

@aksOps
Copy link
Copy Markdown
Contributor

@aksOps aksOps commented Apr 22, 2026

Summary

Bundles all the scorecard wins that don't require time or external review history:

  • SECURITY.md — Security-Policy 0→10
  • .github/dependabot.yml (gomod + npm + actions, weekly) — Dependency-Update-Tool 0→10
  • .github/workflows/codeql.yml — explicit CodeQL workflow with push trigger (fixes SAST detection) → SAST 0→10
  • SHA-pin all actions in ci.yml, release.yml, scorecard.yml → Pinned-Dependencies 4→10
  • Per-job permissions scoping → Token-Permissions 0→10

Branch protection on `main` applied via API (out-of-band): linear history required, force-push/delete blocked, required status checks on 4 CI jobs, dismiss stale reviews → Branch-Protection 3→10.

Projected score

3.7 → ~6.5 from this PR alone. Remaining gaps (Maintained, Code-Review, Contributors, Fuzzing, CII-Best-Practices) are time- or process-bound and can't be fixed in a single PR.

Test plan

  • CI passes
  • After merge, scorecard re-runs → confirm new score on badge

aksOps and others added 2 commits April 22, 2026 23:48
- Add SECURITY.md (Security-Policy 0→10)
- Add .github/dependabot.yml for gomod, npm, actions (Dep-Update 0→10)
- Add explicit CodeQL workflow with push trigger (SAST 0→10)
- SHA-pin all actions in ci.yml, release.yml, scorecard.yml
  (Pinned-Dependencies 4→10)
- Per-job permissions scoping (Token-Permissions 0→10)
- Branch protection applied to main via API (Branch-Protection 3→10,
  configured out-of-band)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 22, 2026

Warning

Rate limit exceeded

@aksOps has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 32 minutes and 50 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 32 minutes and 50 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: adf0bb50-3c50-4737-94dc-f30f9e40d7f1

📥 Commits

Reviewing files that changed from the base of the PR and between 42d091a and a819328.

📒 Files selected for processing (6)
  • .github/dependabot.yml
  • .github/workflows/ci.yml
  • .github/workflows/codeql.yml
  • .github/workflows/release.yml
  • .github/workflows/scorecard.yml
  • SECURITY.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci-scorecard-lift

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

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

@aksOps aksOps enabled auto-merge (squash) April 22, 2026 23:52
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@aksOps aksOps merged commit cd2cab7 into main Apr 23, 2026
12 checks passed
@aksOps aksOps deleted the ci-scorecard-lift branch April 23, 2026 00:06
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