ci: migrate OSSF Scorecard to shared workflow - #2045
Conversation
There was a problem hiding this comment.
Pull request overview
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Migrates the OSSF Scorecard workflow to use the centralized open-telemetry/shared-workflows reusable workflow, while tightening default token permissions.
Changes:
- Replaces in-repo Scorecard steps with a call to the shared
scorecard.ymlreusable workflow. - Sets workflow-level
permissions: {}and explicitly grants only the job permissions needed for checkout, OIDC publish, and SARIF upload.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2045 +/- ##
============================================
- Coverage 68.14% 68.03% -0.12%
Complexity 3083 3083
============================================
Files 459 459
Lines 9031 9031
============================================
- Hits 6154 6144 -10
- Misses 2877 2887 +10
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
@open-telemetry/php-approvers please review, thanks! |
Migrate OSSF Scorecard to the shared workflow. This limits code scanning alerts from Scorecard to
BinaryArtifactsID,DangerousWorkflowID,PinnedDependenciesID, andTokenPermissionsID. See open-telemetry/sig-security#309 for details.