Skip to content

feat(ci): add OpenSSF Scorecard security scan workflow - #238

Open
AnzalKhan16 wants to merge 1 commit into
optiqor:mainfrom
AnzalKhan16:feat/add-openssf-scorecard
Open

feat(ci): add OpenSSF Scorecard security scan workflow#238
AnzalKhan16 wants to merge 1 commit into
optiqor:mainfrom
AnzalKhan16:feat/add-openssf-scorecard

Conversation

@AnzalKhan16

Copy link
Copy Markdown
Contributor

What

This pull request adds a dedicated GitHub Actions workflow to automatically run OpenSSF Scorecard security analysis for the repository.

The workflow generates a SARIF report, uploads it to GitHub Code Scanning, and stores the results as a workflow artifact for future reference.

Why

Fixes #237

Automating OpenSSF Scorecard scans improves repository security by continuously evaluating supply chain security best practices such as GitHub Actions security, workflow permissions, branch protection, dependency management, and repository configuration.

How

  • Added a new .github/workflows/scorecard.yml workflow.
  • Uses the official ossf/scorecard-action.
  • Generates security analysis in SARIF format.
  • Uploads SARIF results to GitHub Code Scanning.
  • Uploads the generated report as a GitHub Actions artifact.
  • Supports scheduled execution and manual workflow dispatch.

Testing

  • go build ./... passes
  • go test ./... passes
  • go vet ./... passes
  • golangci-lint run ./... passes
  • N/A — workflow-only change (no application or eBPF code modified)

Checklist

  • PR title follows Conventional Commits (feat(ci): ...)
  • All commits are DCO-signed
  • No unrelated changes pulled in
  • Documentation updated where user-visible behavior changed
  • Added/updated tests for new code paths
  • No doctor rule changes

Signed-off-by: AnzalKhan16 <arrowsasuke93@gmail.com>
@AnzalKhan16
AnzalKhan16 requested a review from btwshivam as a code owner July 3, 2026 14:03
@github-actions github-actions Bot added level:intermediate 50-200 lines or 3-5 files (auto-applied) testing Tests and test coverage labels Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:intermediate 50-200 lines or 3-5 files (auto-applied) testing Tests and test coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add OpenSSF Scorecard Security Scan Workflow

1 participant