Skip to content

ci: add OpenSSF Scorecard workflow #902

Open

Description

@SilanHe

What

Add the OpenSSF Scorecard GitHub workflow to this repo, the same way the JS SDK does it.

Reference: aws-durable-execution-sdk-js .github/workflows/scorecard.yml, added in aws/aws-durable-execution-sdk-js#360. The current version on main has newer pinned action SHAs from Dependabot.

Why

Scorecard checks the repo's supply-chain practices (branch protection, pinned actions, token permissions, dependency updates, and more). It reports findings as code scanning alerts and publishes a public score and badge. Running it keeps this SDK in line with the JS SDK.

Tasks

  • Add .github/workflows/scorecard.yml based on the JS workflow (runs on push to main, weekly, and on branch protection changes; permissions: read-all; job only gets security-events: write and id-token: write).
  • Pin all actions to full commit SHAs, as in the JS workflow.
  • Keep publish_results: true so results go to the OpenSSF API.
  • Optional: add the Scorecard badge to the README.
  • After the first run, review the new code scanning alerts and fix or dismiss each one with a reason.

🤖 AI-assisted comment

Activity

  1. added
    parityProvides parity with other language implementations of the SDK
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestparityProvides parity with other language implementations of the SDK

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions