Skip to content

Use shared OSSF Scorecard workflow - #1241

Merged
trask merged 1 commit into
open-telemetry:mainfrom
opentelemetrybot:scorecard-rollout/java-examples-2026-08-07
Aug 7, 2026
Merged

Use shared OSSF Scorecard workflow#1241
trask merged 1 commit into
open-telemetry:mainfrom
opentelemetrybot:scorecard-rollout/java-examples-2026-08-07

Conversation

@opentelemetrybot

Copy link
Copy Markdown
Contributor

Replace the inline OSSF Scorecard job with the reusable workflow from open-telemetry/shared-workflows, pinned to the v0.6.0 commit. This preserves the full public Scorecard result, badge, SARIF artifact, existing Monday schedule, and failure-notification job while limiting code scanning uploads to BinaryArtifactsID, DangerousWorkflowID, PinnedDependenciesID, and TokenPermissionsID. Tracks open-telemetry/sig-security#311 and implements the repository migration described in open-telemetry/sig-security#309.

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

This PR migrates the repository’s OSSF Scorecard GitHub Actions workflow from an inline job definition to the reusable workflow maintained in open-telemetry/shared-workflows, while retaining the existing schedule and workflow-failure notification behavior.

Changes:

  • Replaced the inline Scorecard steps with open-telemetry/shared-workflows/.github/workflows/scorecard.yml@f13d0cb… (v0.6.0).
  • Set top-level permissions: {} and delegated required permissions to the calling jobs (for least-privilege and compatibility with the reusable workflow).
  • Kept the existing failure-notification job using the shared reusable workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@opentelemetrybot
opentelemetrybot marked this pull request as ready for review August 7, 2026 14:43
@opentelemetrybot
opentelemetrybot requested review from a team as code owners August 7, 2026 14:43
@trask
trask merged commit 66cc973 into open-telemetry:main Aug 7, 2026
14 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