Skip to content

ci: migrate OSSF Scorecard to shared workflow - #4478

Merged
dbarker merged 1 commit into
open-telemetry:mainfrom
opentelemetrybot:scorecard-shared-workflow
Aug 28, 2026
Merged

dbarker merged 1 commit into
open-telemetry:mainfrom
opentelemetrybot:scorecard-shared-workflow

Conversation

@opentelemetrybot

Copy link
Copy Markdown
Contributor

Migrate OSSF Scorecard to the shared workflow. This limits code scanning alerts from Scorecard to BinaryArtifactsID, DangerousWorkflowID, PinnedDependenciesID, and TokenPermissionsID. See open-telemetry/sig-security#309 for details.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Migrates the repository’s OSSF Scorecard GitHub Actions workflow to use the open-telemetry/shared-workflows reusable scorecard.yml workflow, aligning Scorecard execution and SARIF upload behavior with the shared security automation approach.

Changes:

  • Replaces the in-repo Scorecard job steps with a reusable workflow call to open-telemetry/shared-workflows/.github/workflows/scorecard.yml@v0.11.0.
  • Switches the workflow default token permissions to none (permissions: {}) and grants only the needed job-level permissions for the reusable workflow.
  • Enables runner hardening in the shared workflow via use-harden-runner: true.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ossf-scorecard.yml Outdated
Comment on lines +19 to +21
uses: open-telemetry/shared-workflows/.github/workflows/scorecard.yml@ee32c419ea90b05286c0cdc24538d970992cf82a # v0.11.0
with:
use-harden-runner: true

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.13%. Comparing base (45f2629) to head (d6d089d).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4478      +/-   ##
==========================================
+ Coverage   83.12%   83.13%   +0.02%     
==========================================
  Files         519      519              
  Lines       20256    20256              
==========================================
+ Hits        16835    16838       +3     
+ Misses       3421     3418       -3     

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@opentelemetrybot
opentelemetrybot marked this pull request as ready for review August 27, 2026 20:15
@opentelemetrybot
opentelemetrybot requested a review from a team as a code owner August 27, 2026 20:15
@dbarker
dbarker merged commit b61f05d into open-telemetry:main Aug 28, 2026
77 checks passed
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.

3 participants